aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-10-06 22:28:06 +0000
committerDavid S. Miller <[email protected]>2012-10-07 14:49:17 -0400
commitca07e43e288956a0ad5e6bd075f7aa1fca3bca00 (patch)
treefa3b345f2940b257f7c1b5b268f2ee52926bcbf5 /lib/mpi/mpi-inline.h
parent51ec04038c113a811b177baa85d293feff9ce995 (diff)
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 <[email protected]> Cc: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions