Re: [patch v2 net-next] sfc: fix an off by one bug

2017-02-07 Thread David Miller
From: Dan Carpenter Date: Tue, 7 Feb 2017 10:44:31 +0300 > This bug is harmless because it's just a sanity check and we always > pass valid values for "encap_type" but the test is off by one. > > Fixes: 9b4108012517 ("sfc: insert catch-all filters for encapsulated traffic") > Signed-off-by: Dan

Re: [patch v2 net-next] sfc: fix an off by one bug

2017-02-07 Thread Bert Kenward
On 07/02/17 07:44, Dan Carpenter wrote: > This bug is harmless because it's just a sanity check and we always > pass valid values for "encap_type" but the test is off by one. > > Fixes: 9b4108012517 ("sfc: insert catch-all filters for encapsulated traffic") > Signed-off-by: Dan Carpenter Thanks

[patch v2 net-next] sfc: fix an off by one bug

2017-02-06 Thread Dan Carpenter
This bug is harmless because it's just a sanity check and we always pass valid values for "encap_type" but the test is off by one. Fixes: 9b4108012517 ("sfc: insert catch-all filters for encapsulated traffic") Signed-off-by: Dan Carpenter --- v2: Rebased against last linux-next diff --git a/driv