]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'l2tp'
authorDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:10:46 +0000 (12:10 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:10:46 +0000 (12:10 -0400)
commit2088b7aa1948ce42fb5f922c7865cf927c7113c7
tree115d199ee9cd9fb9dbc296d3daad259cd9e0d682
parentcdae035ecf18c3239be408e0ff96fe3bed1ec198
parent7f7bb9f5a8ba8b4c99252c0b59d74c31d24626ef
Merge branch 'l2tp'

Tom Parkin says:

====================
This l2tp bugfix patchset addresses a number of issues.

The first five patches in the series prevent l2tp sessions pinning an l2tp
tunnel open.  This occurs because the l2tp tunnel is torn down in the tunnel
socket destructor, but each session holds a tunnel socket reference which
prevents tunnels with sessions being deleted.  The solution I've implemented
here involves adding a .destroy hook to udp code, as discussed previously on
netdev[1].

The subsequent seven patches address futher bugs exposed by fixing the problem
above, or exposed through stress testing the implementation above.  Patch 11
(avoid deadlock in l2tp stats update) isn't directly related to tunnel/session
lifetimes, but it does prevent deadlocks on i386 kernels running on 64 bit
hardware.

This patchset has been tested on 32 and 64 bit preempt/non-preempt kernels,
using iproute2, openl2tp, and custom-made stress test code.

[1] http://comments.gmane.org/gmane.linux.network/259169
====================

Signed-off-by: David S. Miller <davem@davemloft.net>