[DCCP]: Move dccp_[un]hash from ipv4.c to the core
As this is used by both ipv4 and ipv6 and is not ipv4 specific. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
3e0fadc51f
commit
c985ed705f
+1
-1
@@ -53,7 +53,7 @@ static void dccp_v6_hash(struct sock *sk)
|
||||
{
|
||||
if (sk->sk_state != DCCP_CLOSED) {
|
||||
if (inet_csk(sk)->icsk_af_ops == &dccp_ipv6_mapped) {
|
||||
dccp_prot.hash(sk);
|
||||
dccp_hash(sk);
|
||||
return;
|
||||
}
|
||||
local_bh_disable();
|
||||
|
||||
Reference in New Issue
Block a user