projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (hwmon-vid) Trivial format multi-line comments per CodingStyle
[firefly-linux-kernel-4.4.55.git]
/
net
/
netfilter
/
nf_sockopt.c
diff --git
a/net/netfilter/nf_sockopt.c
b/net/netfilter/nf_sockopt.c
index 3dd4b3c76d811a6545a0a26140f59ac237020ea4..01489681fa9632de60a4e070e0058696adc83087 100644
(file)
--- a/
net/netfilter/nf_sockopt.c
+++ b/
net/netfilter/nf_sockopt.c
@@
-65,7
+65,7
@@
static struct nf_sockopt_ops *nf_sockopt_find(struct sock *sk, int pf,
{
struct nf_sockopt_ops *ops;
- if (
sk->sk_net != &init_net
)
+ if (
!net_eq(sock_net(sk), &init_net)
)
return ERR_PTR(-ENOPROTOOPT);
if (mutex_lock_interruptible(&nf_sockopt_mutex) != 0)