diff options
author | Eric Dumazet <[email protected]> | 2011-08-30 18:57:00 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-08-30 18:57:00 -0400 |
commit | 29c486df6a208432b370bd4be99ae1369ede28d8 (patch) | |
tree | 5ef7f3756dc19113338f30bc99154f56e681af11 /net/lapb/lapb_timer.c | |
parent | 785824165508a65478474f0c87f6b8c3ad048c62 (diff) |
net: ipv4: relax AF_INET check in bind()
commit d0733d2e29b65 (Check for mistakenly passed in non-IPv4 address)
added regression on legacy apps that use bind() with AF_UNSPEC family.
Relax the check, but make sure the bind() is done on INADDR_ANY
addresses, as AF_UNSPEC has probably no sane meaning for other
addresses.
Bugzilla reference : https://bugzilla.kernel.org/show_bug.cgi?id=42012
Signed-off-by: Eric Dumazet <[email protected]>
Reported-and-bisected-by: Rene Meier <[email protected]>
CC: Marcus Meissner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions