[UDP]: Fix AF-specific references in AF-agnostic code.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 9 May 2007 23:42:20 +0000 (16:42 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:47:22 +0000 (23:47 -0700)
__udp_lib_port_inuse() cannot make direct references to
inet_sk(sk)->rcv_saddr as that is ipv4 specific state and
this code is used by ipv6 too.

Use an operations vector to solve this, and this also paves
the way for ipv6 support for non-wild saddr hashing in UDP.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found