Re: [PATCH net-next v5 1/2] inet_diag: allow protocols to provide additional data

2017-08-31 Thread Eric Dumazet
On Thu, 2017-08-31 at 09:59 -0700, Ivan Delalande wrote: > Extend inet_diag_handler to allow individual protocols to report > additional data on INET_DIAG_INFO through idiag_get_aux. The size > can be dynamic and is computed by idiag_get_aux_size. > > Signed-off-by: Ivan Delalande > --- > includ

[PATCH net-next v5 1/2] inet_diag: allow protocols to provide additional data

2017-08-31 Thread Ivan Delalande
Extend inet_diag_handler to allow individual protocols to report additional data on INET_DIAG_INFO through idiag_get_aux. The size can be dynamic and is computed by idiag_get_aux_size. Signed-off-by: Ivan Delalande --- include/linux/inet_diag.h | 7 +++ net/ipv4/inet_diag.c | 22 ++