netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] erspan: always reports output key to userspace
@ 2019-01-28 21:23 Lorenzo Bianconi
  2019-01-28 21:23 ` [PATCH net 1/2] net: ip_gre: always reports o_key " Lorenzo Bianconi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lorenzo Bianconi @ 2019-01-28 21:23 UTC (permalink / raw)
  To: davem; +Cc: netdev, u9012063

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(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-30 23:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-28 21:23 [PATCH net 0/2] erspan: always reports output key to userspace Lorenzo Bianconi
2019-01-28 21:23 ` [PATCH net 1/2] net: ip_gre: always reports o_key " Lorenzo Bianconi
2019-01-28 21:23 ` [PATCH net 2/2] net: ip6_gre: " Lorenzo Bianconi
2019-01-30 22:00 ` [PATCH net 0/2] erspan: always reports output key " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).