diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-06-23 10:38:53 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-06-26 10:48:21 +0100 |
commit | 91a41d7f972b1d78b4bcbb61ada4a33c9d7ba8a3 (patch) | |
tree | 4754b9ac95168ec1b2bea02c15ee04345eaf67ee /net/lapb/lapb_timer.c | |
parent | 6e86c59d4d0d04e7ebefd05b8af245c968892f81 (diff) |
MIPS: bpf: Fix return values for VLAN_TAG_PRESENT case
If VLAN_TAG_PRESENT is not zero, then return 1 as expected by
classic BPF. Otherwise return 0.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: netdev@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7128/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions