Skip to content

erspan: always reports output key to userspace

Lorenzo Bianconi netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: ip_gre: always reports o_key to userspacenet/ipv4/ip_gre.c+6 -10 replies
2/2net: ip6_gre: always reports o_key to userspacenet/ipv6/ip6_gre.c+6 -10 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 0/2] erspan: always reports output key to userspace

Erspan protocol relies on output key to set session id header field. However TUNNEL_KEY bit is cleared in order to not add key field to the external GRE header and so the configured o_key is not reported to userspace.
Fix the issue adding TUNNEL_KEY bit to the o_flags parameter dumping device info

Lorenzo Bianconi (2):
net: ip_gre: always reports o_key to userspace
net: ip6_gre: always reports o_key to userspace

 net/ipv4/ip_gre.c  | 7 ++++++-
 net/ipv6/ip6_gre.c | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)
Signature · 1 line
2.20.1