diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-09 16:42:20 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-10 23:47:22 -0700 |
commit | fc038410b4b1643766f8033f4940bcdb1dace633 (patch) | |
tree | 3ee59190ecaa77061a9b64cdc09fcce6b6efc389 /block | |
parent | a2af421f1819946556c6f467b1efdd0dc84af4d5 (diff) | |
download | op-kernel-dev-fc038410b4b1643766f8033f4940bcdb1dace633.zip op-kernel-dev-fc038410b4b1643766f8033f4940bcdb1dace633.tar.gz |
[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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions