commit | fc038410b4b1643766f8033f4940bcdb1dace633 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Wed May 09 16:42:20 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Thu May 10 23:47:22 2007 -0700 |
tree | 3ee59190ecaa77061a9b64cdc09fcce6b6efc389 | |
parent | a2af421f1819946556c6f467b1efdd0dc84af4d5 [diff] |
[UDP]: Fix AF-specific references in AF-agnostic code. __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>