https://github.com/torvalds/linux
Revision b22b941b2c253a20e1d000c671594c4f3f0a3858 authored by Hannes Frederic Sowa on 17 November 2015, 13:16:52 UTC, committed by David S. Miller on 17 November 2015, 20:25:44 UTC
Fix the following warning:

  CC      net/core/rtnetlink.o
net/core/rtnetlink.c: In function ‘rtnl_fill_ifinfo’:
net/core/rtnetlink.c:1308:1: warning: the frame size of 2864 bytes is larger than 2048 bytes [-Wframe-larger-than=]
 }
 ^
by splitting up the huge rtnl_fill_ifinfo into some smaller ones, so we
don't have the huge frame allocations at the same time.

Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 19125c1
History
Tip revision: b22b941b2c253a20e1d000c671594c4f3f0a3858 authored by Hannes Frederic Sowa on 17 November 2015, 13:16:52 UTC
rtnetlink: fix frame size warning in rtnl_fill_ifinfo
Tip revision: b22b941
File Mode Size
Makefile -rw-r--r-- 377 bytes
compat.c -rw-r--r-- 19.1 KB
compat_mq.c -rw-r--r-- 3.9 KB
ipc_sysctl.c -rw-r--r-- 5.4 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 35.7 KB
msg.c -rw-r--r-- 24.1 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.0 KB
sem.c -rw-r--r-- 56.1 KB
shm.c -rw-r--r-- 32.5 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 21.2 KB
util.h -rw-r--r-- 6.4 KB

back to top