summaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-10-07 00:28:06 +0200
committerDavid S. Miller <davem@davemloft.net>2012-10-07 20:49:17 +0200
commitca07e43e288956a0ad5e6bd075f7aa1fca3bca00 (patch)
treefa3b345f2940b257f7c1b5b268f2ee52926bcbf5 /drivers/net/vxlan.c
parentipv6: GRO should be ECN friendly (diff)
downloadlinux-ca07e43e288956a0ad5e6bd075f7aa1fca3bca00.tar.xz
linux-ca07e43e288956a0ad5e6bd075f7aa1fca3bca00.zip
net: gro: fix a potential crash in skb_gro_reset_offset
Before accessing skb first fragment, better make sure there is one. This is probably not needed for old kernels, since an ethernet frame cannot contain only an ethernet header, but the recent GRO addition to tunnels makes this patch needed. Also skb_gro_reset_offset() can be static, it actually allows compiler to inline it. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions