diff options
author | Eric Dumazet <[email protected]> | 2016-06-02 14:52:43 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-02 18:29:49 -0400 |
commit | ce25d66ad5f8d921bac5fe2d32d62fa30c0f9a70 (patch) | |
tree | b1645065bc25d86d42c902de87cc548fe7fddf8f /net/tipc | |
parent | f55d84b07c4e7340473a25dc82b462607578402c (diff) |
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 <[email protected]>
Reported-by: Paul Moore <[email protected]>
Tested-by: Paul Moore <[email protected]>
Tested-by: Stephen Smalley <[email protected]>
Cc: samanthakumar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions