]> git.baikalelectronics.ru Git - kernel.git/commit
gtp: unify genl_find_pdp and prepare for per socket lookup
authorAndreas Schultz <aschultz@tpip.net>
Thu, 9 Mar 2017 16:43:00 +0000 (17:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 20:04:31 +0000 (13:04 -0700)
commitc5e4891603f96c149b917db8ae236142cfe9c300
treeeb331605f1a64de843a667f7797aff15e7f80817
parent7d734d14f1191a2ed23a80735af3726a5b2e5951
gtp: unify genl_find_pdp and prepare for per socket lookup

This unifies duplicate code into a helper. It also prepares the
groundwork to add a lookup version that uses the socket to find
attached pdp contexts.

Signed-off-by: Andreas Schultz <aschultz@tpip.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gtp.c