[PATCH] NET/netlink: optimize output of seq_puts in af_netlink.c

2018-05-02 Thread Bo YU
Optimization of command output: `cat /proc/net/netlink` After the patch, we will get: https://clbin.com/lnu4L Signed-off-by: Bo YU --- net/netlink/af_netlink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 5

Re: [PATCH] NET/netlink: optimize output of seq_puts in af_netlink.c

2018-05-02 Thread David Miller
From: Bo YU Date: Wed, 2 May 2018 05:54:24 -0400 > Optimization of command output: `cat /proc/net/netlink` > > After the patch, we will get: > > https://clbin.com/lnu4L > > Signed-off-by: Bo YU > --- > net/netlink/af_netlink.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >

Re: [PATCH] NET/netlink: optimize output of seq_puts in af_netlink.c

2018-05-02 Thread YU Bo
Hi, On Wed, May 02, 2018 at 10:19:43AM -0400, David Miller wrote: From: Bo YU Date: Wed, 2 May 2018 05:54:24 -0400 Optimization of command output: `cat /proc/net/netlink` After the patch, we will get: https://clbin.com/lnu4L Signed-off-by: Bo YU --- net/netlink/af_netlink.c | 6 +++--- 1