Skip to content
Commit d0733d2e authored by Marcus Meissner's avatar Marcus Meissner Committed by David S. Miller
Browse files

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: default avatarMarcus Meissner <meissner@suse.de>
Cc: Reinhard Max <max@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 948252cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment