summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/adapter.h
diff options
context:
space:
mode:
authorHerbert Xu2009-04-14 11:09:43 +0200
committerDavid S. Miller2009-04-14 11:09:43 +0200
commit0eca93bcf73e5939053a94f7c48f8d6fe6199e00 (patch)
treeb4a95f8442b99cea946bfc8a4767489c0107feca /drivers/net/cxgb3/adapter.h
parenttcp: fix >2 iw selection (diff)
downloadkernel-qcow2-linux-0eca93bcf73e5939053a94f7c48f8d6fe6199e00.tar.gz
kernel-qcow2-linux-0eca93bcf73e5939053a94f7c48f8d6fe6199e00.tar.xz
kernel-qcow2-linux-0eca93bcf73e5939053a94f7c48f8d6fe6199e00.zip
tun: Fix crash with non-GSO users
When I made the tun driver use non-linear packets as the preferred option, it broke non-GSO users because they would end up allocating a completely non-linear packet, which triggers a crash when we call eth_type_trans. This patch reverts non-GSO users to using linear packets and adds a check to ensure that GSO users can't cause crashes in the same way. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/adapter.h')
0 files changed, 0 insertions, 0 deletions