[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121230.023058.1273764783843598991.davem@davemloft.net>
Date: Sun, 30 Dec 2012 02:30:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: ani@...stanetworks.com, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next] net: filter: return -EINVAL if BPF_S_ANC*
operation is not supported
From: Daniel Borkmann <dborkman@...hat.com>
Date: Fri, 28 Dec 2012 21:50:17 +0100
> Currently, we return -EINVAL for malformed 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: Eric Dumazet <eric.dumazet@...il.com>
> Reported-by: Ani Sinha <ani@...stanetworks.com>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
Applied, thanks.
--
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