gtp: add GTPA_LINK info to msg sent to userspace
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 25 Aug 2020 12:59:40 +0000 (14:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Sep 2020 17:14:16 +0000 (19:14 +0200)
commite4fe6bfddafe0535ef8d78deddb86866d865da3d
tree7d433e16d3f27ffd586c97ebbadb59ab07189fa0
parentf276f4e1b7431572d124a225bda00cea87fe4e5f
gtp: add GTPA_LINK info to msg sent to userspace

[ Upstream commit b274e47d9e3f4dcd4ad4028a316ec22dc4533ac7 ]

During a dump, this attribute is essential, it enables the userspace to
know on which interface the context is linked to.

Fixes: 459aa660eb1d ("gtp: add initial driver for datapath of GPRS Tunneling Protocol (GTP-U)")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Tested-by: Gabriel Ganne <gabriel.ganne@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/gtp.c