Files
linux/drivers/net
Jason Wang b92946e291 macvtap: zerocopy: validate vectors before building skb
There're several reasons that the vectors need to be validated:

- Return error when caller provides vectors whose num is greater than UIO_MAXIOV.
- Linearize part of skb when userspace provides vectors grater than MAX_SKB_FRAGS.
- Return error when userspace provides vectors whose total length may exceed
- MAX_SKB_FRAGS * PAGE_SIZE.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2012-05-02 18:22:21 +03:00
..
2012-04-21 15:28:47 -04:00
…
…
2012-04-16 23:56:36 -04:00
2012-03-27 22:45:26 -04:00
…
…
…
…
…
…
…
2012-03-28 18:30:03 +01:00
…