l2tp: avoid aliasing tunnels socket pointer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | l2tp: remove .tunnel_sock from struct l2tp_ethnet/ | +0 | 0 replies | |
| 2/3 | l2tp: avoid using ->tunnel_sock for getting session's parent tunnelnet/ | +12 | 0 replies | |
| 3/3 | l2tp: remove the .tunnel_sock field from struct pppol2tp_sessionnet/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/3] l2tp: avoid aliasing tunnels socket pointer
We don't need to copy the tunnel's socket pointer in the pseudo-wire specific session structures. This uselessly complicates the code and hampers evolution.
This series was part of an effort to protect tunnels socket pointer with RCU. But since it provides nice cleanup, I submit it separately.
Guillaume Nault (3):
l2tp: remove .tunnel_sock from struct l2tp_eth
l2tp: avoid using ->tunnel_sock for getting session's parent tunnel
l2tp: remove the .tunnel_sock field from struct pppol2tp_session
net/l2tp/l2tp_eth.c | 2 -- net/l2tp/l2tp_ppp.c | 76 +++++++++-------------------------------------------- 2 files changed, 12 insertions(+), 66 deletions(-)
Signature · 1 line
2.11.0