OSDN Git Service

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)
commit101cfbc155d082e8567f697f86f89853c790be5e
treec7b6a980da11a43508b4137122f2af4131e380fc
parent6b5e2e7401de30903ad05d3ef18e3a72d835ce24
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