commit | d0733d2e29b652b2e7b1438ececa732e4eed98eb | [log] [tgz] |
---|---|---|
author | Marcus Meissner <meissner@suse.de> | Wed Jun 01 21:05:22 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 01 21:05:22 2011 -0700 |
tree | 1fdc2634b52f097f0dc01f76196228492dac4be6 | |
parent | 948252cb9e01d65a89ecadf67be5018351eee15e [diff] |
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 <meissner@suse.de> Cc: Reinhard Max <max@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>