]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
Merge branch 'l2tp-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 19:14:09 +0000 (14:14 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 19:14:09 +0000 (14:14 -0500)
commit7752f72748db3ce9312e2171f80cbbb42bf4dde6
tree9546bf8fd1837769d8ff63d13acac5a1f57e5a9a
parentbb83d62fa83405d7c325873a317c9374f98eedef
parent31e2f21fb35bfaa5bdbe1a4860dc99e6b10d8dcd
Merge branch 'l2tp-fixes'

Guillaume Nault says:

====================
l2tp: fixes for l2tp_ip and l2tp_ip6 socket handling

This series addresses problems found while working on commit 32c231164b76
("l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()").

The first three patches fix races in socket's connect, recv and bind
operations. The last two ones fix scenarios where l2tp fails to
correctly lookup its userspace sockets.

Apart from the last patch, which is l2tp_ip6 specific, every patch
fixes the same problem in the L2TP IPv4 and IPv6 code.

All problems fixed by this series exist since the creation of the
l2tp_ip and l2tp_ip6 modules.

Changes since v1:
  * Patch #3: fix possible uninitialised use of 'ret' in l2tp_ip_bind().
====================

Acked-by: James Chapman <jchapman@katalix.com>