Re: [PATCH net-next 0/8] Add complementary BPF conditional jump instructions
From: David Miller <davem@davemloft.net>
Date: 2013-01-01 05:18:05
From: David Miller <davem@davemloft.net>
Date: 2013-01-01 05:18:05
From: Eric Dumazet <redacted> Date: Mon, 31 Dec 2012 19:29:02 -0800
On Mon, 2012-12-31 at 14:37 -0800, David Miller wrote:quoted
Whilst I agree that adding NE jumps adds great value and closes a serious gap, the rest can be synthesized by simply swapping the arguments and using a comparison that does already exist. Why isn't that sufficient?I am afraid none of these patches is needed at all. Swapping the jt/jf is plainly enough for the user land compiler. libcap seems to do it already
Agreed.