mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
net: fix CONFIG_NET_NS=n compilation
I forgot to use write_pnet() in three locations.
Signed-off-by: Eric Dumazet <[email protected]>
Fixes: 33cf7c90fe ("net: add real socket cookies")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
c78ba6d64c
commit
d77c555d32
3 changed files with 3 additions and 3 deletions
|
|
@ -641,7 +641,7 @@ int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
|
|||
ireq = inet_rsk(req);
|
||||
ireq->ir_loc_addr = ip_hdr(skb)->daddr;
|
||||
ireq->ir_rmt_addr = ip_hdr(skb)->saddr;
|
||||
ireq->ireq_net = sock_net(sk);
|
||||
write_pnet(&ireq->ireq_net, sock_net(sk));
|
||||
atomic64_set(&ireq->ir_cookie, 0);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue