aboutsummaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-08-05 10:34:04 +0800
committerBen Hutchings <ben@decadent.org.uk>2015-10-13 03:46:11 +0100
commite4afe1f118e136464da2faeb18c6c9a791ce25bc (patch)
tree11ed555d226c4abed95fb9a1b8cefcbbbfd8607c /Kbuild
parent1c825dacb615430cb384e0e3be07700013291742 (diff)
downloadkernel_samsung_smdk4412-e4afe1f118e136464da2faeb18c6c9a791ce25bc.zip
kernel_samsung_smdk4412-e4afe1f118e136464da2faeb18c6c9a791ce25bc.tar.gz
kernel_samsung_smdk4412-e4afe1f118e136464da2faeb18c6c9a791ce25bc.tar.bz2
virtio-net: drop NETIF_F_FRAGLIST
commit 48900cb6af4282fa0fb6ff4d72a81aa3dadb5c39 upstream. virtio declares support for NETIF_F_FRAGLIST, but assumes that there are at most MAX_SKB_FRAGS + 2 fragments which isn't always true with a fraglist. A longer fraglist in the skb will make the call to skb_to_sgvec overflow the sg array, leading to memory corruption. Drop NETIF_F_FRAGLIST so we only get what we can handle. Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions