aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_core.c
AgeCommit message (Expand)AuthorFilesLines
12 daysl2tp: fix ICMP error handling for UDP-encap socketsTom Parkin1-11/+33
2024-05-13l2tp: Support different protocol versions with same IP/port quadrupleSamuel Thibault1-8/+10
2024-05-09l2tp: Support several sockets with same IP/port quadrupleSamuel Thibault1-0/+21
2023-09-14udp: annotate data-races around udp->encap_typeEric Dumazet1-3/+3
2023-01-18l2tp: prevent lockdep issue in l2tp_tunnel_register()Eric Dumazet1-3/+2
2023-01-16l2tp: close all race conditions in l2tp_tunnel_register()Cong Wang1-14/+14
2023-01-16l2tp: convert l2tp_tunnel_list to idrCong Wang1-43/+42
2022-11-23l2tp: Don't sleep and disable BH under writer-side sk_callback_lockJakub Sitnicki1-8/+9
2022-11-16l2tp: Serialize access to sk_user_data with sk_callback_lockJakub Sitnicki1-6/+13
2021-11-29net/l2tp: convert tunnel rwlock_t to rcuTom Parkin1-27/+25
2021-09-09net/l2tp: Fix reference count leak in l2tp_udp_recv_coreXiyu Yang1-1/+3
2021-04-27net: fix a concurrency bug in l2tp_tunnel_register()Gong, Sishuai1-5/+5
2021-03-22net: l2tp: Fix a typoBhaskar Chowdhury1-1/+1
2021-03-03net: l2tp: reduce log level of messages in receive path, add counter insteadMatthias Schiffer1-19/+22
2020-09-18l2tp: fix up inconsistent rx/tx statisticsTom Parkin1-3/+8
2020-09-03l2tp: avoid duplicated code in l2tp_tunnel_closeallTom Parkin1-13/+1
2020-09-03l2tp: make magic feather checks more usefulTom Parkin1-18/+22
2020-09-03l2tp: capture more tx errors in data plane statsTom Parkin1-34/+37
2020-09-03l2tp: drop net argument from l2tp_tunnel_createTom Parkin1-1/+1
2020-09-03l2tp: drop data_len argument from l2tp_xmit_coreTom Parkin1-3/+2
2020-09-03l2tp: remove header length param from l2tp_xmit_skbTom Parkin1-5/+5
2020-08-22l2tp: remove tunnel and session debug flags fieldTom Parkin1-8/+0
2020-08-22l2tp: add tracepoints to l2tp_core.cTom Parkin1-52/+31
2020-08-22l2tp: add tracepoint infrastructure to coreTom Parkin1-0/+3
2020-08-22l2tp: use standard API for warning log messagesTom Parkin1-19/+13
2020-08-22l2tp: remove noisy logging, use appropriate log levelsTom Parkin1-12/+4
2020-08-22l2tp: don't log data framesTom Parkin1-52/+6
2020-07-30l2tp: tweak exports for l2tp_recv_common and l2tp_ioctlTom Parkin1-1/+1
2020-07-30l2tp: remove build_header callback in struct l2tp_sessionTom Parkin1-6/+4
2020-07-30l2tp: return void from l2tp_session_deleteTom Parkin1-7/+2
2020-07-30l2tp: don't export tunnel and session free functionsTom Parkin1-19/+41
2020-07-30l2tp: don't export __l2tp_session_unhashTom Parkin1-31/+26
2020-07-24l2tp: WARN_ON rather than BUG_ON in l2tp_session_freeTom Parkin1-1/+3
2020-07-24l2tp: remove BUG_ON refcount value in l2tp_session_freeTom Parkin1-2/+0
2020-07-24l2tp: WARN_ON rather than BUG_ON in l2tp_session_queue_purgeTom Parkin1-3/+4
2020-07-24l2tp: remove BUG_ON in l2tp_tunnel_closeallTom Parkin1-2/+0
2020-07-24l2tp: remove BUG_ON in l2tp_session_queue_purgeTom Parkin1-1/+0
2020-07-24l2tp: avoid multiple assignmentsTom Parkin1-3/+3
2020-07-23l2tp: cleanup kzalloc callsTom Parkin1-2/+2
2020-07-23l2tp: cleanup unnecessary braces in if statementsTom Parkin1-3/+3
2020-07-23l2tp: cleanup comparisons to NULLTom Parkin1-10/+10
2020-07-22l2tp: avoid precidence issues in L2TP_SKB_CB macroTom Parkin1-1/+1
2020-07-22l2tp: line-break long function prototypesTom Parkin1-2/+4
2020-07-22l2tp: cleanup suspect code indentTom Parkin1-2/+2
2020-07-22l2tp: cleanup wonky alignment of line-broken function callsTom Parkin1-6/+6
2020-07-22l2tp: cleanup commentsTom Parkin1-4/+5
2020-07-22l2tp: cleanup whitespace useTom Parkin1-19/+19
2020-07-08l2tp: remove skb_dst_set() from l2tp_xmit_skb()Xin Long1-4/+1
2020-05-30l2tp: add sk_family checks to l2tp_validate_socketEric Dumazet1-0/+3
2020-02-04l2tp: Allow duplicate session creation with UDPRidge Kennedy1-1/+6
2020-01-03l2tp: Remove redundant BUG_ON() check in l2tp_pernetXu Wang1-2/+0
2019-10-01netfilter: drop bridge nf reset from nf_resetFlorian Westphal1-1/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-05-07l2tp: Fix possible NULL pointer dereferenceYueHaibing1-1/+2
2019-04-30l2ip: fix possible use-after-freeEric Dumazet1-4/+4
2019-04-26l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()Eric Dumazet1-1/+1
2019-01-31l2tp: copy 4 more bytes to linear part if necessaryJacob Wen1-3/+2
2019-01-30l2tp: fix reading optional fields of L2TPv3Jacob Wen1-0/+4
2018-11-14l2tp: fix a sock refcnt leak in l2tp_tunnel_registerXin Long1-5/+4
2018-08-13l2tp: use sk_dst_check() to avoid race on sk->sk_dst_cacheWei Wang1-1/+1
2018-08-11l2tp: split l2tp_session_get()Guillaume Nault1-25/+25
2018-08-03l2tp: ignore L2TP_ATTR_MTUGuillaume Nault1-1/+0
2018-07-27l2tp: drop ->mru from struct l2tp_sessionGuillaume Nault1-1/+0
2018-07-26l2tp: remove ->recv_payload_hookGuillaume Nault1-12/+4
2018-07-24l2tp: remove trailing newlineStephen Hemminger1-1/+0
2018-06-26l2tp: make l2tp_xmit_core() return voidGuillaume Nault1-4/+2
2018-06-26l2tp: avoid duplicate l2tp_pernet() callsGuillaume Nault1-2/+1
2018-06-26l2tp: don't export l2tp_tunnel_closeall()Guillaume Nault1-2/+1
2018-06-26l2tp: don't export l2tp_session_queue_purge()Guillaume Nault1-2/+1
2018-04-13l2tp: hold reference on tunnels printed in l2tp/tunnels debugfs fileGuillaume Nault1-20/+0
2018-04-13l2tp: hold reference on tunnels in netlink dumpsGuillaume Nault1-0/+20
2018-04-11l2tp: fix race in duplicate tunnel detectionGuillaume Nault1-21/+14
2018-04-11l2tp: fix races in tunnel creationGuillaume Nault1-107/+85
2018-03-12l2tp: fix races with ipv4-mapped ipv6 addressesPaolo Abeni1-20/+18
2018-03-07l2tp: do not accept arbitrary socketsEric Dumazet1-2/+6
2018-02-26l2tp: fix tunnel lookup use-after-free raceJames Chapman1-7/+7
2018-02-26l2tp: fix races with tunnel socket closeJames Chapman1-83/+34
2018-02-26l2tp: don't use inet_shutdown on tunnel destroyJames Chapman1-9/+2
2018-01-19l2tp: remove l2specific_len configurable parameterLorenzo Bianconi1-1/+0
2018-01-19l2tp: remove l2specific_len dependency in l2tp_coreLorenzo Bianconi1-18/+16
2018-01-08l2tp: adjust comments about L2TPv3 offsetsGuillaume Nault1-4/+3
2018-01-05l2tp: remove configurable payload offsetJames Chapman1-10/+4
2018-01-05l2tp: revert "l2tp: add peer_offset parameter"James Chapman1-2/+1
2017-12-27l2tp: add peer_offset parameterLorenzo Bianconi1-1/+2
2017-11-14l2tp: exit_net cleanup check addedVasily Averin1-0/+4
2017-11-11l2tp: don't close sessions in l2tp_tunnel_destruct()Guillaume Nault1-2/+0
2017-11-01l2tp: remove l2tp_tunnel_count and l2tp_session_countGuillaume Nault1-10/+0
2017-11-01l2tp: remove ->ref() and ->deref()Guillaume Nault1-44/+8
2017-10-29l2tp: don't register sessions in l2tp_session_create()Guillaume Nault1-14/+7
2017-10-27l2tp: cleanup l2tp_tunnel_delete callsJiri Slaby1-1/+1
2017-09-26l2tp: fix race condition in l2tp_tunnel_deleteSabrina Dubroca1-6/+4
2017-09-25l2tp: fix race between l2tp_session_delete() and l2tp_tunnel_closeall()Guillaume Nault1-0/+6
2017-09-03l2tp: prevent creation of sessions on terminated tunnelsGuillaume Nault1-13/+28
2017-08-28l2tp: hold tunnel while looking up sessions in l2tp_netlinkGuillaume Nault1-45/+21
2017-08-28l2tp: initialise session's refcount before making it reachableGuillaume Nault1-4/+2
2017-07-04net, l2tp: convert l2tp_session.ref_count from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-07-04net, l2tp: convert l2tp_tunnel.ref_count from atomic_t to refcount_tReshetova, Elena1-7/+7
2017-04-12l2tp: define parameters of l2tp_tunnel_find*() as "const"Guillaume Nault1-2/+2
2017-04-12l2tp: define parameters of l2tp_session_get*() as "const"Guillaume Nault1-3/+4
2017-04-11l2tp: remove l2tp_session_find()Guillaume Nault1-50/+1
2017-04-04l2tp: take reference on sessions being dumpedGuillaume Nault1-2/+6
2017-04-01l2tp: take a reference on sessions used in genetlink handlersGuillaume Nault1-2/+7
2017-04-01l2tp: fix duplicate session creationGuillaume Nault1-17/+53
2017-04-01l2tp: fix race in l2tp_recv_common()Guillaume Nault1-13/+60
2017-02-27lib/vsprintf.c: remove %Z supportAlexey Dobriyan1-2/+2
2017-02-22l2tp: Avoid schedule while atomic in exit_netRidge Kennedy1-1/+3
2016-11-09net: l2tp: fix negative assignment to unsigned intAsbjørn Sloth Tønnesen1-1/+1
2016-09-02l2tp: fix use-after-free during module unloadSabrina Dubroca1-0/+3
2016-06-08l2tp: fix configuration passed to setup_udp_tunnel_sock()Guillaume Nault1-1/+1
2016-05-01net: l2tp: fix reversed udp6 checksum flagsWang Shanker1-2/+2
2015-09-28l2tp: protect tunnel->del_work by ref_countAlexander Couzens1-2/+9
2015-05-11net: Modify sk_alloc to not reference count the netns of kernel sockets.Eric W. Biederman1-9/+6
2015-05-11net: Add a struct net parameter to sock_create_kernEric W. Biederman1-2/+2
2015-04-06l2tp: unregister l2tp_net_ops on failure pathWANG Cong1-0/+1
2014-09-19l2tp: Refactor l2tp core driver to make use of the common UDP tunnel functionsAndy Zhou1-14/+10
2014-09-05l2tp: fix missing line continuationAndy Zhou1-1/+1
2014-09-01l2tp: Enable checksum unnecessary conversions for l2tp/UDP socketsTom Herbert1-0/+2
2014-07-14l2tp: Call udp_sock_createTom Herbert1-59/+27
2014-06-04l2tp: call udp{6}_set_csumTom Herbert1-49/+5
2014-05-23l2tp: Add support for zero IPv6 checksumsTom Herbert1-1/+8
2014-05-23net: Split sk_no_check into sk_no_check_{rx,tx}Tom Herbert1-2/+2
2014-05-12net: rename local_df to ignore_dfWANG Cong1-1/+1
2014-05-08l2tp: Remove UDP checksum verificationTom Herbert1-56/+1
2014-04-15ipv4: add a sock pointer to ip_queue_xmit()Eric Dumazet1-2/+2
2014-04-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-23/+1
2014-03-31Merge branch 'for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-1/+1
2014-03-29workqueue: remove deprecated WQ_NON_REENTRANTZhangZhen1-1/+1
2014-03-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2014-03-10l2tp: fix unused variable warningEric Dumazet1-2/+1
2014-03-07l2tp: keep original skb ownershipEric Dumazet1-21/+2
2014-03-06l2tp: fix manual sequencing (de)activation in L2TPv2Guillaume Nault1-2/+2
2014-02-13net: remove unnecessary return'sstephen hemminger1-2/+0
2014-01-13l2tp: make local functions staticstephen hemminger1-4/+2
2013-10-09ipv6: make lookups simpler and fasterEric Dumazet1-5/+5
2013-10-08l2tp: Fix build warning with ipv6 disabled.David S. Miller1-5/+8
2013-10-02l2tp: fix kernel panic when using IPv4-mapped IPv6 addressesFrançois Cachereul1-4/+23
2013-07-02l2tp: make datapath resilient to packet loss when sequence numbers enabledJames Chapman1-5/+31
2013-07-02l2tp: make datapath sequence number support RFC-compliantJames Chapman1-5/+31
2013-07-02l2tp: do data sequence number handling in a separate funcJames Chapman1-20/+34
2013-03-22l2tp: calling the ref() instead of deref()Dan Carpenter1-1/+1
2013-03-20l2tp: unhash l2tp sessions on delete, not on freeTom Parkin1-41/+34
2013-03-20l2tp: avoid deadlock in l2tp stats updateTom Parkin1-56/+19
2013-03-20l2tp: purge session reorder queue on deleteTom Parkin1-0/+4
2013-03-20l2tp: add session reorder queue purge function to coreTom Parkin1-0/+17
2013-03-20l2tp: don't BUG_ON sk_socket being NULLTom Parkin1-8/+10
2013-03-20l2tp: take a reference for kernel sockets in l2tp_tunnel_sock_lookupTom Parkin1-0/+2
2013-03-20l2tp: close sessions before initiating tunnel deleteTom Parkin1-0/+1
2013-03-20l2tp: export l2tp_tunnel_closeallTom Parkin1-2/+2
2013-03-20l2tp: add udp encap socket destroy handlerTom Parkin1-0/+14
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-8/+4
2013-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+0
2013-02-08l2tp: dont play with skb->truesizeEric Dumazet1-6/+0
2013-02-05l2tp: create tunnel sockets in the right namespaceTom Parkin1-33/+54
2013-02-05l2tp: prevent tunnel creation on netns mismatchTom Parkin1-2/+9
2013-02-05l2tp: put tunnel socket release on a workqueueTom Parkin1-44/+59
2013-01-29l2tp: prevent l2tp_tunnel_delete racing with userspace closeTom Parkin1-11/+65
2012-09-04l2tp: fix a lockdep splatEric Dumazet1-0/+4
2012-08-30l2tp: avoid to use synchronize_rcu in tunnel free functionxeb@mail.ru1-2/+1
2012-06-29net: l2tp_eth: provide tx_dropped counterEric Dumazet1-5/+6
2012-05-17net: l2tp: Standardize logging stylesJoe Perches1-115/+101
2012-05-10l2tp: fix data packet sequence number handlingJames Chapman1-1/+1
2012-05-10l2tp: fix reorder timeout recoveryJames Chapman1-0/+9
2012-05-01l2tp: let iproute2 create L2TPv3 IP tunnels using IPv6James Chapman1-22/+50
2012-05-01l2tp: netlink api for l2tpv3 ipv6 unmanaged tunnelsChris Elston1-17/+61
2012-05-01l2tp: fix locking of 64-bit counters for smpJames Chapman1-19/+56
2012-04-30l2tp: Add missing net/net/ip6_checksum.h include.David S. Miller1-0/+1
2012-04-28net/l2tp: add support for L2TP over IPv6 UDPBenjamin LaHaise1-12/+77
2012-04-13udp: intoduce udp_encap_needed static_keyEric Dumazet1-0/+1
2011-11-26l2tp: ensure sk->dst is still validFlorian Westphal1-1/+1
2011-11-08l2tp: fix l2tp_udp_recv_core()Eric Dumazet1-4/+4
2011-11-03l2tp: fix race in l2tp_recv_dequeue()Eric Dumazet1-1/+2
2011-10-18l2tp: fix a potential skb leak in l2tp_xmit_skb()Eric Dumazet1-1/+3
2011-07-26atomic: use <linux/atomic.h>Arun Sharma1-1/+1
2011-05-12l2tp: fix potential rcu raceEric Dumazet1-6/+4
2011-05-08inet: Pass flowi to ->queue_xmit().David S. Miller1-4/+6
2011-05-08l2tp: Fix locking in l2tp_core.cDavid S. Miller1-0/+8
2010-10-24l2tp: static functions should not be exportedStephen Rothwell1-3/+0
2010-10-24l2tp: make local function staticstephen hemminger1-10/+40
2010-04-23l2tp: fix memory allocationJiri Pirko1-28/+1
2010-04-15net: replace ipfragok with skb->local_dfShan Wei1-1/+2
2010-04-04l2tp: unmanaged L2TPv3 tunnels fixesEric Dumazet1-1/+1
2010-04-03l2tp: Add support for static unmanaged L2TPv3 tunnelsJames Chapman1-10/+105
2010-04-03l2tp: Convert rwlock to RCUJames Chapman1-36/+42
2010-04-03l2tp: Add netlink control API for L2TPJames Chapman1-1/+60
2010-04-03l2tp: Add L2TPv3 IP encapsulation (no UDP) supportJames Chapman1-60/+103
2010-04-03l2tp: Add L2TPv3 protocol supportJames Chapman1-135/+397
2010-04-03l2tp: Split pppol2tp patch into separate l2tp and ppp partsJames Chapman1-0/+1227