commit | 17886c4705853fe402d06b2820ae155d38fb345e | [log] [tgz] |
---|---|---|
author | Andreas Schultz <aschultz@tpip.net> | Thu Mar 09 17:42:56 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 13 13:04:30 2017 -0700 |
tree | 8f7d0398efd417a416b25d7eddc9731ae3bc903c | |
parent | 68e5cfaffaca73bda1263c503f9b186a196dd97b [diff] |
gtp: switch from struct socket to struct sock for the GTP sockets After enabling the UDP encapsulation, only the sk member is used. Holding the socket would prevent user space from closing the socket, but holding a reference to the sk member does not have the same effect. This change will make it simpler to later detach the sockets from the netdevice. Signed-off-by: Andreas Schultz <aschultz@tpip.net> Signed-off-by: David S. Miller <davem@davemloft.net>