mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 18:20:25 +02:00
This issue happens when trying to add an existent tunnel. It
doesn't call sock_put() before returning -EEXIST to release
the sock refcnt that was held by calling sock_hold() before
the existence check.
This patch is to fix it by holding the sock after doing the
existence check.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| l2tp_core.c | ||
| l2tp_core.h | ||
| l2tp_debugfs.c | ||
| l2tp_eth.c | ||
| l2tp_ip.c | ||
| l2tp_ip6.c | ||
| l2tp_netlink.c | ||
| l2tp_ppp.c | ||
| Makefile | ||