aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-12-10 13:28:16 +0000
committerDavid S. Miller <davem@davemloft.net>2012-12-11 12:49:53 -0500
commit89c5fa3369a47db0df904c45c1c26e64c0404430 (patch)
tree5ec8a34731214875b458d812f5c007a260f004ce /drivers/net/tun.c
parentnet: fix a race in gro_cell_poll() (diff)
downloadlinux-dev-89c5fa3369a47db0df904c45c1c26e64c0404430.tar.xz
linux-dev-89c5fa3369a47db0df904c45c1c26e64c0404430.zip
net: gro: dev_gro_receive() cleanup
__napi_gro_receive() is inlined from two call sites for no good reason. Lets move the prep stuff in a function of its own, called only if/when needed. This saves 300 bytes on x86 : # size net/core/dev.o.after net/core/dev.o.before text data bss dec hex filename 51968 1238 1040 54246 d3e6 net/core/dev.o.before 51664 1238 1040 53942 d2b6 net/core/dev.o.after Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions