linux-stable/drivers/net
Sasha Levin e878d78b9a virtio-net: Verify page list size before fitting into skb
This patch verifies that the length of a buffer stored in a linked list
of pages is small enough to fit into a skb.

If the size is larger than a max size of a skb, it means that we shouldn't
go ahead building skbs anyway since we won't be able to send the buffer as
the user requested.

Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Cc: netdev@vger.kernel.org
Cc: kvm@vger.kernel.org
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-06 15:39:40 -04:00
..
appletalk
arcnet
bonding net: consolidate and fix ethtool_ops->get_settings calling 2011-09-15 17:32:26 -04:00
caif
can candev: allow SJW user setting for bittiming calculation 2011-09-28 13:41:51 -04:00
cris
ethernet igb: Alternate MAC Address Updates for Func2&3 2011-10-06 03:42:12 -07:00
fddi
hamradio
hippi
irda net/irda: sh_irda: add PM support 2011-09-15 17:19:28 -04:00
phy netdev/phy/icplus: Use mdiobus_write() and mdiobus_read() for proper locking. 2011-09-30 18:54:08 -04:00
plip
ppp Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
slip
tokenring
usb NET: white space/coding style cleanup of asix driver 2011-10-04 16:25:31 -04:00
vmxnet3 vmxnet3: convert to SKB paged frag API. 2011-09-22 16:04:19 -04:00
wan wan: make LAPB callbacks const 2011-09-16 19:20:20 -04:00
wimax
wireless Merge branch 'master' of git://git.infradead.org/users/linville/wireless-next into for-davem 2011-09-30 14:52:29 -04:00
xen-netback xen: netback: convert to SKB paged frag API. 2011-10-05 17:36:00 -04:00
dummy.c
eql.c
ifb.c
Kconfig pch_gbe: support ML7831 IOH 2011-09-15 17:31:45 -04:00
LICENSE.SRC
loopback.c
macvlan.c net: consolidate and fix ethtool_ops->get_settings calling 2011-09-15 17:32:26 -04:00
macvtap.c macvtap: fix the uninitialized var using in macvtap_alloc_skb() 2011-09-20 14:37:22 -04:00
Makefile
mdio.c
mii.c
netconsole.c netconsole: switch init_netconsole() to late_initcall 2011-09-20 15:45:07 -04:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c virtio-net: Verify page list size before fitting into skb 2011-10-06 15:39:40 -04:00
xen-netfront.c xen: netfront: convert to SKB paged frag API. 2011-10-05 17:36:00 -04:00