summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core_main.c
diff options
context:
space:
mode:
authorWei Liu2013-04-22 04:20:43 +0200
committerDavid S. Miller2013-04-22 21:37:01 +0200
commit03393fd5cc2b6cdeec32b704ecba64dbb0feae3c (patch)
treee5e6484266da2624a56aa8fca0828e16a19037bb /drivers/s390/net/qeth_core_main.c
parentxen-netback: coalesce slots in TX path and fix regressions (diff)
downloadkernel-qcow2-linux-03393fd5cc2b6cdeec32b704ecba64dbb0feae3c.tar.gz
kernel-qcow2-linux-03393fd5cc2b6cdeec32b704ecba64dbb0feae3c.tar.xz
kernel-qcow2-linux-03393fd5cc2b6cdeec32b704ecba64dbb0feae3c.zip
xen-netback: don't disconnect frontend when seeing oversize packet
Some frontend drivers are sending packets > 64 KiB in length. This length overflows the length field in the first slot making the following slots have an invalid length. Turn this error back into a non-fatal error by dropping the packet. To avoid having the following slots having fatal errors, consume all slots in the packet. This does not reopen the security hole in XSA-39 as if the packet as an invalid number of slots it will still hit fatal error case. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core_main.c')
0 files changed, 0 insertions, 0 deletions