kernel_optimize_test/net/l2tp
Guillaume Nault 7198c77aa0 l2tp: avoid using ->tunnel_sock for getting session's parent tunnel
Sessions don't need to use l2tp_sock_to_tunnel(xxx->tunnel_sock) for
accessing their parent tunnel. They have the .tunnel field in the
l2tp_session structure for that. Furthermore, in all these cases, the
session is registered, so we're guaranteed that .tunnel isn't NULL and
that the session properly holds a reference on the tunnel.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-11 22:08:23 +09:00
..
Kconfig
l2tp_core.c l2tp: don't close sessions in l2tp_tunnel_destruct() 2017-11-11 19:05:17 +09:00
l2tp_core.h l2tp: remove l2tp specific refcount debugging 2017-11-01 10:57:24 +09:00
l2tp_debugfs.c l2tp: remove ->ref() and ->deref() 2017-11-01 10:57:24 +09:00
l2tp_eth.c l2tp: remove .tunnel_sock from struct l2tp_eth 2017-11-11 22:08:23 +09:00
l2tp_ip.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-10 10:00:18 +09:00
l2tp_ip6.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-10 10:00:18 +09:00
l2tp_netlink.c l2tp: remove ->ref() and ->deref() 2017-11-01 10:57:24 +09:00
l2tp_ppp.c l2tp: avoid using ->tunnel_sock for getting session's parent tunnel 2017-11-11 22:08:23 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00