l2tp_ppp.c (ab141e3733d16ba24740de515694697835f24636) l2tp_ppp.c (5ee759cda51b9b1c28994ea36e314427a58cb6d7)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*****************************************************************************
3 * Linux PPP over L2TP (PPPoX/PPPoL2TP) Sockets
4 *
5 * PPPoX --- Generic PPP encapsulation socket family
6 * PPPoL2TP --- PPP over L2TP (RFC 2661)
7 *
8 * Version: 2.0.0

--- 237 unchanged lines hidden (view full) ---

246 }
247 }
248 rcu_read_unlock();
249
250 return;
251
252no_sock:
253 rcu_read_unlock();
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*****************************************************************************
3 * Linux PPP over L2TP (PPPoX/PPPoL2TP) Sockets
4 *
5 * PPPoX --- Generic PPP encapsulation socket family
6 * PPPoL2TP --- PPP over L2TP (RFC 2661)
7 *
8 * Version: 2.0.0

--- 237 unchanged lines hidden (view full) ---

246 }
247 }
248 rcu_read_unlock();
249
250 return;
251
252no_sock:
253 rcu_read_unlock();
254 l2tp_warn(session, L2TP_MSG_DATA, "%s: no socket\n", session->name);
254 pr_warn_ratelimited("%s: no socket in recv\n", session->name);
255 kfree_skb(skb);
256}
257
258/************************************************************************
259 * Transmit handling
260 ***********************************************************************/
261
262/* This is the sendmsg for the PPPoL2TP pppol2tp_session socket. We come here

--- 1463 unchanged lines hidden ---
255 kfree_skb(skb);
256}
257
258/************************************************************************
259 * Transmit handling
260 ***********************************************************************/
261
262/* This is the sendmsg for the PPPoL2TP pppol2tp_session socket. We come here

--- 1463 unchanged lines hidden ---