summaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 01:10:42 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-06 11:43:44 -0800
commit6df2e34e938de2d7e6b192def65584d2e710ccc1 (patch)
tree8bdd1c74ddd98d903aae11ab8aec9817b6a8703c /net/unix/sysctl_net_unix.c
parenta005a2736620f676e0ab9455dc30415aa613d810 (diff)
ATM: Check IP header validity in mpc_send_packet
[ATM]: Check IP header validity in mpc_send_packet [ Upstream commit: 1c9b7aa1eb40ab708ef3242f74b9a61487623168 ] Al went through the ip_fast_csum callers and found this piece of code that did not validate the IP header. While root crashing the machine by sending bogus packets through raw or AF_PACKET sockets isn't that serious, it is still nice to react gracefully. This patch ensures that the skb has enough data for an IP header and that the header length field is valid. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions