diff options
author | Marcus Meissner <meissner@suse.de> | 2011-06-06 08:00:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-06 23:48:16 +0200 |
commit | 5a079c305ad4dda9708b7a29db4a8bd38e21c3a6 (patch) | |
tree | 04d25cdf27ab7d5b8150200ec3a483a6f0a08581 /net/sched | |
parent | Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff) | |
download | linux-5a079c305ad4dda9708b7a29db4a8bd38e21c3a6.tar.xz linux-5a079c305ad4dda9708b7a29db4a8bd38e21c3a6.zip |
net/ipv6: check for mistakenly passed in non-AF_INET6 sockaddrs
Same check as for IPv4, also do for IPv6.
(If you passed in a IPv4 sockaddr_in here, the sizeof check
in the line before would have triggered already though.)
Signed-off-by: Marcus Meissner <meissner@suse.de>
Cc: Reinhard Max <max@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions