summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRusty Russell2008-04-13 03:49:30 +0200
committerDavid S. Miller2008-04-13 03:49:30 +0200
commite01bf1c83332c4653ffd30eed20a94a9c83d82b2 (patch)
treebb39605cba8ced4b5cc3f0aca63b345ec02e29a9 /net
parentnet: make struct tun_struct private to tun.c (diff)
downloadkernel-qcow2-linux-e01bf1c83332c4653ffd30eed20a94a9c83d82b2.tar.gz
kernel-qcow2-linux-e01bf1c83332c4653ffd30eed20a94a9c83d82b2.tar.xz
kernel-qcow2-linux-e01bf1c83332c4653ffd30eed20a94a9c83d82b2.zip
net: check for underlength tap writes
If the user gives a packet under 14 bytes, we'll end up reading off the end of the skb (not oopsing, just reading off the end). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Max Krasnyanskiy <maxk@qualcomm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions