Re: [PATCH net-next 3/7] sctp: export some functions for sctp_diag in inet_diag

2016-04-07 Thread Marcelo Ricardo Leitner
On Tue, Apr 05, 2016 at 12:06:28PM +0800, Xin Long wrote: > inet_diag_msg_common_fill is used to fill the diag msg common info, > we need to use it in sctp_diag as well, so export it. > > We also add inet_diag_get_handler() to access inet_diag_table in sctp > diag. > > Signed-off-by: Xin Long >

[PATCH net-next 3/7] sctp: export some functions for sctp_diag in inet_diag

2016-04-04 Thread Xin Long
inet_diag_msg_common_fill is used to fill the diag msg common info, we need to use it in sctp_diag as well, so export it. We also add inet_diag_get_handler() to access inet_diag_table in sctp diag. Signed-off-by: Xin Long --- net/ipv4/inet_diag.c | 9 - 1 file changed, 8 insertions(+),