]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gro: Fix error handling on extremely short frags
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 17 Jan 2009 19:47:18 +0000 (19:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jan 2009 22:44:02 +0000 (14:44 -0800)
commit9a8e47ffd95608f0768e1a8a0225c822aa53aa9b
tree2fb981c68f70d7d97cda5b444233b0a98e9c9360
parentebad18e93fbc6bc63ee734edbc0eb38ac6b919c0
gro: Fix error handling on extremely short frags

When a frag is shorter than an Ethernet header, we'd return a
zeroed packet instead of aborting.  This patch fixes that.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c