]> 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)
commit26b5fd9aa66f6b6583ee56817775b5d13595ee37
treeeb331605f1a64de843a667f7797aff15e7f80817
parenta1cac25cc0190ea962cc62b7cd97f807776bb713
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