Re: [iproute2] libnetlink: reduce size of message sent to kernel

2016-11-29 Thread Stephen Hemminger
On Sat, 19 Nov 2016 23:50:13 +0800 Zhang Shengju wrote: > This patch reduce the size of message sent to kernel space. Before this > patch, for command: 'ip link show', we will sent 1056 bytes. With this > patch, we only need to send 40 bytes. > > Signed-off-by: Zhang Shengju Applied, and queue

[iproute2] libnetlink: reduce size of message sent to kernel

2016-11-19 Thread Zhang Shengju
This patch reduce the size of message sent to kernel space. Before this patch, for command: 'ip link show', we will sent 1056 bytes. With this patch, we only need to send 40 bytes. Signed-off-by: Zhang Shengju --- lib/libnetlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git