]> Git Repo - linux.git/commit
net/ipv4: Check for mistakenly passed in non-IPv4 address
authorMarcus Meissner <[email protected]>
Thu, 2 Jun 2011 04:05:22 +0000 (21:05 -0700)
committerDavid S. Miller <[email protected]>
Thu, 2 Jun 2011 04:05:22 +0000 (21:05 -0700)
commitd0733d2e29b652b2e7b1438ececa732e4eed98eb
tree1fdc2634b52f097f0dc01f76196228492dac4be6
parent948252cb9e01d65a89ecadf67be5018351eee15e
net/ipv4: Check for mistakenly passed in non-IPv4 address

Check against mistakenly passing in IPv6 addresses (which would result
in an INADDR_ANY bind) or similar incompatible sockaddrs.

Signed-off-by: Marcus Meissner <[email protected]>
Cc: Reinhard Max <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv4/af_inet.c
This page took 0.054756 seconds and 4 git commands to generate.