https://github.com/torvalds/linux
Revision 91a41d7f972b1d78b4bcbb61ada4a33c9d7ba8a3 authored by Markos Chandras on 23 June 2014, 09:38:53 UTC, committed by Ralf Baechle on 26 June 2014, 09:48:21 UTC
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>
1 parent 6e86c59
History
Tip revision: 91a41d7f972b1d78b4bcbb61ada4a33c9d7ba8a3 authored by Markos Chandras on 23 June 2014, 09:38:53 UTC
MIPS: bpf: Fix return values for VLAN_TAG_PRESENT case
Tip revision: 91a41d7
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 275.0 KB
Makefile -rw-r--r-- 50.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top