Skip to content

Remove VLAN.CFI overload

Michał Mirosław linux-mips linuxppc-dev netdev sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net/skbuff: add macros for VLAN_PRESENT bitinclude/linux/skbuff.h+6 -00 replies
2/6net/bpf: split VLAN_PRESENT bit handling from VLAN_TCInet/core/filter.c+21 -192 replies
3/6net/bpf_jit: MIPS: split VLAN_PRESENT bit handling from VLAN_TCIarch/mips/net/bpf_jit.c+12 -90 replies
4/6net/bpf_jit: PPC: split VLAN_PRESENT bit handling from VLAN_TCIarch/powerpc/net/bpf_jit_comp.c+10 -80 replies
5/6net/bpf_jit: SPARC: split VLAN_PRESENT bit handling from VLAN_TCIarch/sparc/net/bpf_jit_comp_32.c+10 -70 replies
6/6net: remove VLAN_TAG_PRESENTarch/mips/net/bpf_jit.c arch/powerpc/net/bpf_jit_comp.c arch/sparc/net/bpf_jit_comp_32.c +4 more+23 -340 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/6] Remove VLAN.CFI overload

Fix BPF code/JITs to allow for separate VLAN_PRESENT flag storage and finally move the flag to separate storage in skbuff.

This is final step to make CLAN.CFI transparent to core Linux networking stack.

An #ifdef is introduced temporarily to mark fragments masking VLAN_TAG_PRESENT. This is removed altogether in the final patch.

---
Michał Mirosław (6):
net/skbuff: add macros for VLAN_PRESENT bit
net/bpf: split VLAN_PRESENT bit handling from VLAN_TCI net/bpf_jit: MIPS: split VLAN_PRESENT bit handling from VLAN_TCI net/bpf_jit: PPC: split VLAN_PRESENT bit handling from VLAN_TCI net/bpf_jit: SPARC: split VLAN_PRESENT bit handling from VLAN_TCI
net: remove VLAN_TAG_PRESENT

 arch/mips/net/bpf_jit.c          | 18 ++++++++---------
 arch/powerpc/net/bpf_jit_comp.c  | 15 +++++++-------
 arch/sparc/net/bpf_jit_comp_32.c | 13 ++++++------
 include/linux/if_vlan.h          | 11 ++++++-----
 include/linux/skbuff.h           | 10 +++++++++-
 lib/test_bpf.c                   | 14 +++++++------
 net/core/filter.c                | 34 ++++++++++++++------------------
 7 files changed, 60 insertions(+), 55 deletions(-)
Signature · 1 line
2.19.1