aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet/diag.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/packet/diag.c')
-rw-r--r--net/packet/diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/diag.c b/net/packet/diag.c
index 533ce4ff108a..435ff99ba8c7 100644
--- a/net/packet/diag.c
+++ b/net/packet/diag.c
@@ -172,7 +172,7 @@ static int sk_diag_fill(struct sock *sk, struct sk_buff *skb,
172 goto out_nlmsg_trim; 172 goto out_nlmsg_trim;
173 173
174 if ((req->pdiag_show & PACKET_SHOW_FILTER) && 174 if ((req->pdiag_show & PACKET_SHOW_FILTER) &&
175 sock_diag_put_filterinfo(user_ns, sk, skb, PACKET_DIAG_FILTER)) 175 sock_diag_put_filterinfo(sk, skb, PACKET_DIAG_FILTER))
176 goto out_nlmsg_trim; 176 goto out_nlmsg_trim;
177 177
178 return nlmsg_end(skb, nlh); 178 return nlmsg_end(skb, nlh);