summaryrefslogtreecommitdiffstats
path: root/lib/cpumask.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-11-17 05:18:18 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-17 05:18:18 -0800
commit69c0cab120a85471054614418b447349caba22d7 (patch)
tree6ab6f5ee4d0e605c61280f2b1eaa57e94001bde6 /lib/cpumask.c
parente54d5512b600aa0d492010436ff7eb0c9194efc1 (diff)
downloadblackbird-op-linux-69c0cab120a85471054614418b447349caba22d7.tar.gz
blackbird-op-linux-69c0cab120a85471054614418b447349caba22d7.zip
gro: Fix illegal merging of trailer trash
When we've merged skb's with page frags, and subsequently receive a trailer skb (< MSS) that is not completely non-linear (this can occur on Intel NICs if the packet size falls below the threshold), GRO ends up producing an illegal GSO skb with a frag_list. This is harmless unless the skb is then forwarded through an interface that requires software GSO, whereupon the GSO code will BUG. This patch detects this case in GRO and avoids merging the trailer skb. Reported-by: Mark Wagner <mwagner@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud