Searched hist:"1 ba896f6f52bfafac6dec4ca583cdd9a073858e8" (Results 1 – 6 of 6) sorted by relevance
/linux/net/sctp/ |
H A D | stream_sched_rr.c | diff 1ba896f6f52bfafac6dec4ca583cdd9a073858e8 Sun Nov 26 13:16:08 CET 2017 Xin Long <lucien.xin@gmail.com> sctp: remove extern from stream sched
Now each stream sched ops is defined in different .c file and added into the global ops in another .c file, it uses extern to make this work.
However extern is not good coding style to get them in and even make C=2 reports errors for this.
This patch adds sctp_sched_ops_xxx_init for each stream sched ops in their .c file, then get them into the global ops by calling them when initializing sctp module.
Fixes: 637784ade221 ("sctp: introduce priority based stream scheduler") Fixes: ac1ed8b82cd6 ("sctp: introduce round robin stream scheduler") Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | stream_sched_prio.c | diff 1ba896f6f52bfafac6dec4ca583cdd9a073858e8 Sun Nov 26 13:16:08 CET 2017 Xin Long <lucien.xin@gmail.com> sctp: remove extern from stream sched
Now each stream sched ops is defined in different .c file and added into the global ops in another .c file, it uses extern to make this work.
However extern is not good coding style to get them in and even make C=2 reports errors for this.
This patch adds sctp_sched_ops_xxx_init for each stream sched ops in their .c file, then get them into the global ops by calling them when initializing sctp module.
Fixes: 637784ade221 ("sctp: introduce priority based stream scheduler") Fixes: ac1ed8b82cd6 ("sctp: introduce round robin stream scheduler") Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | stream_sched.c | diff 1ba896f6f52bfafac6dec4ca583cdd9a073858e8 Sun Nov 26 13:16:08 CET 2017 Xin Long <lucien.xin@gmail.com> sctp: remove extern from stream sched
Now each stream sched ops is defined in different .c file and added into the global ops in another .c file, it uses extern to make this work.
However extern is not good coding style to get them in and even make C=2 reports errors for this.
This patch adds sctp_sched_ops_xxx_init for each stream sched ops in their .c file, then get them into the global ops by calling them when initializing sctp module.
Fixes: 637784ade221 ("sctp: introduce priority based stream scheduler") Fixes: ac1ed8b82cd6 ("sctp: introduce round robin stream scheduler") Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | protocol.c | diff 1ba896f6f52bfafac6dec4ca583cdd9a073858e8 Sun Nov 26 13:16:08 CET 2017 Xin Long <lucien.xin@gmail.com> sctp: remove extern from stream sched
Now each stream sched ops is defined in different .c file and added into the global ops in another .c file, it uses extern to make this work.
However extern is not good coding style to get them in and even make C=2 reports errors for this.
This patch adds sctp_sched_ops_xxx_init for each stream sched ops in their .c file, then get them into the global ops by calling them when initializing sctp module.
Fixes: 637784ade221 ("sctp: introduce priority based stream scheduler") Fixes: ac1ed8b82cd6 ("sctp: introduce round robin stream scheduler") Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/include/net/sctp/ |
H A D | stream_sched.h | diff 1ba896f6f52bfafac6dec4ca583cdd9a073858e8 Sun Nov 26 13:16:08 CET 2017 Xin Long <lucien.xin@gmail.com> sctp: remove extern from stream sched
Now each stream sched ops is defined in different .c file and added into the global ops in another .c file, it uses extern to make this work.
However extern is not good coding style to get them in and even make C=2 reports errors for this.
This patch adds sctp_sched_ops_xxx_init for each stream sched ops in their .c file, then get them into the global ops by calling them when initializing sctp module.
Fixes: 637784ade221 ("sctp: introduce priority based stream scheduler") Fixes: ac1ed8b82cd6 ("sctp: introduce round robin stream scheduler") Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | sctp.h | diff 1ba896f6f52bfafac6dec4ca583cdd9a073858e8 Sun Nov 26 13:16:08 CET 2017 Xin Long <lucien.xin@gmail.com> sctp: remove extern from stream sched
Now each stream sched ops is defined in different .c file and added into the global ops in another .c file, it uses extern to make this work.
However extern is not good coding style to get them in and even make C=2 reports errors for this.
This patch adds sctp_sched_ops_xxx_init for each stream sched ops in their .c file, then get them into the global ops by calling them when initializing sctp module.
Fixes: 637784ade221 ("sctp: introduce priority based stream scheduler") Fixes: ac1ed8b82cd6 ("sctp: introduce round robin stream scheduler") Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|