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)
commit5b171f9cfe5e628c3537be159fa36fff1f5cec8f
tree517dac9be3eadc0daa0df46ada512a478a783f95
parent3fb94617ca1b2f60119ae14643a83a66079fe4c9
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