]> 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)
commita1cac25cc0190ea962cc62b7cd97f807776bb713
tree517dac9be3eadc0daa0df46ada512a478a783f95
parent1fca4e00dedbe3afff25d5d77b3c44f17c1f8bb5
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