[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 12 Dec 2012 10:38:01 +0100
From: Daniel Borkmann <dborkman@...hat.com>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org, Ani Sinha <ani@...stanetworks.com>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [PATCH] net: filter: return -EINVAL if BPF_S_ANC* operation is
not supported
On 12/12/2012 10:31 AM, Daniel Borkmann wrote:
> Currently, we return -EINVAL for malicious or wrong BPF filters.
> However, this is not done for BPF_S_ANC* operations, which makes it
> more difficult to detect if it's actually supported or not by the
> BPF machine. Therefore, we should also return -EINVAL if K is within
> the SKF_AD_OFF universe and the ancillary operation did not match.
>
> Cc: Ani Sinha <ani@...stanetworks.com>
> Cc: Eric Dumazet <eric.dumazet@...il.com>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
(Sorry, this is intended for net-next.)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists