diff options
Diffstat (limited to 'net/packet')
-rw-r--r-- | net/packet/af_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 20964560a0ed..b6372dd128d7 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -519,7 +519,7 @@ static inline unsigned int run_filter(struct sk_buff *skb, struct sock *sk, | |||
519 | rcu_read_lock_bh(); | 519 | rcu_read_lock_bh(); |
520 | filter = rcu_dereference_bh(sk->sk_filter); | 520 | filter = rcu_dereference_bh(sk->sk_filter); |
521 | if (filter != NULL) | 521 | if (filter != NULL) |
522 | res = sk_run_filter(skb, filter->insns, filter->len); | 522 | res = sk_run_filter(skb, filter->insns); |
523 | rcu_read_unlock_bh(); | 523 | rcu_read_unlock_bh(); |
524 | 524 | ||
525 | return res; | 525 | return res; |