[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160602.183151.2030076167275348260.davem@davemloft.net>
Date: Thu, 02 Jun 2016 18:31:51 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: paul@...l-moore.com, samanthakumar@...gle.com,
linux-security-module@...r.kernel.org, selinux@...ho.nsa.gov,
netdev@...r.kernel.org, sds@...ho.nsa.gov
Subject: Re: Possible problem with e6afc8ac ("udp: remove headers from UDP
packets before queueing")
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 02 Jun 2016 14:52:43 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
> Reported-by: Paul Moore <paul@...l-moore.com>
> Tested-by: Paul Moore <paul@...l-moore.com>
> Tested-by: Stephen Smalley <sds@...ho.nsa.gov>
> Cc: samanthakumar <samanthakumar@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists