[PATCH v5 1/3] netlink: decode AF_INET inet_diag_msg attributes

JingPiao Chen chenjingpiao at gmail.com
Tue Jun 27 00:00:58 UTC 2017


On Mon, Jun 26, 2017 at 07:47:29PM +0300, Dmitry V. Levin wrote:
> On Mon, Jun 26, 2017 at 11:04:16PM +0800, JingPiao Chen wrote:
> > * netlink_sock_diag.c: Include  <linux/sock_diag.h>.
> > (inet_diag_msg_nla_decoders): New array.
> > (decode_inet_diag_msg): Use it.
> > * linux/inet_diag.h (inet_diag_meminfo, tcpvegas_info,
> > tcp_dctcp_info, tcp_bbr_info): New structures.
> > * linux/sock_diag.h (SK_MEMINFO_VARS): New macro.
> 
> Could you resubmit the whole series that starts with commit
> "netlink: add a dummy netlink attribute parser of AF_NETLINK diag"
> and ends with commit
> "tests: check decoding of NETLINK_SOCK_DIAG AF_INET request diag attributes",
> please?

Ok, but it takes a little time to modify the test.

--
JingPiao Chen




More information about the Strace-devel mailing list