]> git.baikalelectronics.ru Git - kernel.git/commit
gtp: add socket to pdp context
authorAndreas Schultz <aschultz@tpip.net>
Thu, 9 Mar 2017 16:43:02 +0000 (17:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 20:04:31 +0000 (13:04 -0700)
commit525835cbcc388aea0b4b50aabfd9d13c0fa4d402
treec7b6a980da11a43508b4137122f2af4131e380fc
parent9e2c7b1e8f2e2f0ac3002c66f758f4aa35f5fa94
gtp: add socket to pdp context

Having the socket present in context simplifies the sending logic.
It also fixes the invalid assumption that we have to use the same
sending socket for all client IP's on a specific gtp interface.

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