]> git.baikalelectronics.ru Git - kernel.git/commit
[UDP]: Do not allow specific bind when wildcard bind exists.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 30 Apr 2007 21:51:58 +0000 (14:51 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 30 Apr 2007 21:51:58 +0000 (14:51 -0700)
commit4b43299a8b2ffc1e292ff92b021645319c39f313
treee2745c338913fade9ce5ad76cccabeea9edfcaaf
parent214efe0e370f632866f2dc5c1bed370fe7c42e7c
[UDP]: Do not allow specific bind when wildcard bind exists.

When allocating local ports, do not allow a bind to a port
with a specific local address when a bind to that port with
a wildcard local address already exists.

Noticed by Linus.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c