]> git.baikalelectronics.ru Git - kernel.git/commit
gtp: consolidate gtp socket rx path
authorAndreas Schultz <aschultz@tpip.net>
Thu, 9 Mar 2017 16:42:59 +0000 (17:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 20:04:30 +0000 (13:04 -0700)
commit7d734d14f1191a2ed23a80735af3726a5b2e5951
tree517dac9be3eadc0daa0df46ada512a478a783f95
parent4313bb45a80d4de44850803182fb1b99488e7fb6
gtp: consolidate gtp socket rx path

Add network device to gtp context in preparation for splitting
the TEID from the network device.

Use this to rework the socker rx path. Move the common RX part
of v0 and v1 into a helper. Also move the final rx part into
that helper as well.

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