Home
last modified time | relevance | path

Searched hist:"5 a079c30" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv6/
H A Daf_inet6.c5a079c30 Mon Jun 06 01:00:07 CDT 2011 Marcus Meissner <meissner@suse.de> 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>
5a079c30 Mon Jun 06 01:00:07 CDT 2011 Marcus Meissner <meissner@suse.de> 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>