aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarcus Meissner <[email protected]>2011-06-06 06:00:07 +0000
committerDavid S. Miller <[email protected]>2011-06-06 14:48:16 -0700
commit5a079c305ad4dda9708b7a29db4a8bd38e21c3a6 (patch)
tree04d25cdf27ab7d5b8150200ec3a483a6f0a08581 /lib/cpu-notifier-error-inject.c
parent2b22b1b1e169c6591aa125525223f70e40ed4acf (diff)
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 <[email protected]> Cc: Reinhard Max <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions