Eric Dumazet ce25d66ad5 Possible problem with e6afc8ac ("udp: remove headers from UDP packets before queueing")
Paul Moore tracked a regression caused by a recent commit, which
mistakenly assumed that sk_filter() could be avoided if socket
had no current BPF filter.

The intent was to avoid udp_lib_checksum_complete() overhead.

But sk_filter() also checks skb_pfmemalloc() and
security_sock_rcv_skb(), so better call it.

Fixes: e6afc8ace6dd ("udp: remove headers from UDP packets before queueing")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Paul Moore <paul@paul-moore.com>
Tested-by: Paul Moore <paul@paul-moore.com>
Tested-by: Stephen Smalley <sds@tycho.nsa.gov>
Cc: samanthakumar <samanthakumar@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-02 18:29:49 -04:00
..
2015-08-25 13:38:50 -07:00
2016-04-27 22:48:24 -04:00
2015-05-28 11:23:20 +08:00
2016-05-20 18:03:16 -04:00
2016-05-12 16:53:58 -04:00
2016-01-05 22:25:57 -05:00
2016-04-27 22:48:24 -04:00
2016-04-27 22:48:23 -04:00
2016-03-31 08:59:56 +02:00
2016-04-21 14:22:13 -04:00
2016-02-17 16:15:46 -05:00
2016-02-17 16:15:46 -05:00
2012-03-11 23:42:51 -07:00
2014-05-23 16:28:53 -04:00
2015-09-17 17:18:37 -07:00
2013-05-31 17:19:05 -07:00