Skip to content

gre: receive also TEB packets for lwtunnels

Jiri Benc netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gre: remove superfluous pskb_may_pullnet/ipv4/gre_demux.c+1 -40 replies
2/3gre: move iptunnel_pull_header down to ipgre_rcvnet/ipv4/ip_gre.c+10 -50 replies
3/3gre: receive also TEB packets for lwtunnelsinclude/net/ip_tunnels.h net/ipv4/ip_gre.c+29 -110 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchSimon Horman
SeriesT-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] gre: receive also TEB packets for lwtunnels

NOTE: this patchset needs net merged to net-next.

This allows lwtunnel users to get also packets with ETH_P_TEB protocol specified in GRE header through an ipgre interface. There's really nothing special about these packets in the case of lwtunnels - it's just an inner protocol like any other. The only complications stem from keeping compatibility with other uses of GRE.

This will be used by openvswitch to support eth_push and eth_pop actions. I'd also like to see tc support for lwtunnels (this feature included) in the future.

The first patch is not directly related and can be submitted standalone if needed.

Jiri Benc (3):
gre: remove superfluous pskb_may_pull
gre: move iptunnel_pull_header down to ipgre_rcv
gre: receive also TEB packets for lwtunnels

 include/net/ip_tunnels.h |  1 +
 net/ipv4/gre_demux.c     |  5 +----
 net/ipv4/ip_gre.c        | 48 +++++++++++++++++++++++++++++++++++-------------
 3 files changed, 37 insertions(+), 17 deletions(-)
Signature · 1 line
1.8.3.1