# Re: \[PATCH v2 net 0/5\] l2tp: fixes for l2tp\_ip and l2tp\_ip6 socket handling

- From: David Miller \<davem@davemloft.net\>
- Date: 2016-11-30 19:14:33 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/11/11036671
- Thread: https://ratatoskr.run/netdev/2016/11/11036346/t.md

```text
From: James Chapman <jchapman@katalix.com>
Date: Tue, 29 Nov 2016 13:47:06 +0000

> On 29/11/16 12:09, Guillaume Nault wrote:
>> 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().
 ...
> Looks good.
> 
> Acked-by: James Chapman <jchapman@katalix.com>

Series applied.
```
