]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitde34ed91c4ffa4727964a832c46e624dd1495cf5
treee2745c338913fade9ce5ad76cccabeea9edfcaaf
parentb7b5f487ab39bc10ed0694af35651a03d9cb97ff
[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