aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp
AgeCommit message (Expand)AuthorFilesLines
12 daysnet l2tp: drop flow hash on forwardDavid Bauer1-0/+3
2024-03-11l2tp: fix incorrect parameter validation in the pppol2tp_getsockopt() functionGavrilov Ilia1-2/+2
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-02-22l2tp: pass correct message length to ip6_append_dataTom Parkin1-1/+1
2024-02-21net: l2tp: constify the struct device_type usageRicardo B. Marliere1-1/+1
2024-02-12ipv4: Set the routing scope properly in ip_route_output_ports().Guillaume Nault1-1/+1
2023-12-11ipv6: annotate data-races around np->ucast_oifEric Dumazet1-1/+1
2023-12-11ipv6: annotate data-races around np->mcast_oifEric Dumazet1-1/+1
2023-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-10-01ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()David Howells1-1/+1
2023-10-01net: l2tp_eth: use generic dev->stats fieldsEric Dumazet1-22/+12
2023-09-15ipv6: lockless IPV6_FLOWINFO_SEND implementationEric Dumazet1-2/+2
2023-09-15ipv6: lockless IPV6_DONTFRAG implementationEric Dumazet1-1/+1
2023-09-14udp: annotate data-races around udp->encap_typeEric Dumazet1-3/+3
2023-08-16inet: introduce inet->inet_flagsEric Dumazet1-1/+1
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-1/+1
2023-07-24ipv6: remove hard coded limitation on ipv6_pinfoEric Dumazet1-3/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells2-2/+0
2023-06-15net: ioctl: Use kernel memory on protocol ioctl callbacksBreno Leitao2-6/+5
2023-03-31l2tp: generate correct module alias stringsAndrea Righi2-8/+8
2023-02-20l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()Shigeru Yoshida1-58/+67
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-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+9
2022-11-23l2tp: Don't sleep and disable BH under writer-side sk_callback_lockJakub Sitnicki1-8/+9
2022-11-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+13
2022-11-16l2tp: Serialize access to sk_user_data with sk_callback_lockJakub Sitnicki1-6/+13
2022-10-24inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().Kuniyuki Iwashima1-2/+0
2022-08-29genetlink: start to validate reserved header bytesJakub Kicinski1-0/+1
2022-08-22l2tp: move from strlcpy with unused retval to strscpyWolfram Sang1-2/+2
2022-07-08l2tp: l2tp_debugfs: fix Clang -Wformat warningsJustin Stitt1-3/+3
2022-07-07net: l2tp: fix clang -Wformat warningJustin Stitt1-1/+1
2022-06-08ipv6: Fix signed integer overflow in l2tp_ip6_sendmsgWang Yufen1-2/+3
2022-05-16l2tp: use add READ_ONCE() to fetch sk->sk_bound_dev_ifEric Dumazet2-4/+8
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp2-4/+2
2022-04-06net: remove noblock parameter from skb_recv_datagram()Oliver Hartkopp3-4/+5
2021-12-10l2tp: add netns refcount tracker to l2tp_dfs_seq_dataEric Dumazet1-4/+5
2021-11-29net/l2tp: convert tunnel rwlock_t to rcuTom Parkin3-36/+31
2021-09-09net/l2tp: Fix reference count leak in l2tp_udp_recv_coreXiyu Yang1-1/+3
2021-06-07l2tp: Fix spelling mistakesZheng Yongjun2-2/+2
2021-05-17net: Remove the member netns_okYejune Deng1-1/+0
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 Schiffer3-19/+29
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-1/+1
2020-10-02genetlink: move to smaller ops wherever possibleJakub Kicinski1-3/+3
2020-09-29l2tp: report rx cookie discards in netlink getTom Parkin1-0/+6
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 Parkin5-20/+38
2020-09-03l2tp: capture more tx errors in data plane statsTom Parkin1-34/+37
2020-09-03l2tp: drop net argument from l2tp_tunnel_createTom Parkin4-4/+4
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 Parkin4-10/+9
2020-08-22l2tp: remove tunnel and session debug flags fieldTom Parkin5-35/+12
2020-08-22l2tp: remove custom logging macrosTom Parkin1-13/+0
2020-08-22l2tp: add tracepoints to l2tp_core.cTom Parkin1-52/+31
2020-08-22l2tp: add tracepoint definitions in trace.hTom Parkin2-2/+200
2020-08-22l2tp: add tracepoint infrastructure to coreTom Parkin3-0/+20
2020-08-22l2tp: use standard API for warning log messagesTom Parkin2-20/+14
2020-08-22l2tp: remove noisy logging, use appropriate log levelsTom Parkin2-43/+5
2020-08-22l2tp: don't log data framesTom Parkin5-101/+6
2020-07-30l2tp: improve API documentation in l2tp_core.hTom Parkin1-14/+72
2020-07-30l2tp: tweak exports for l2tp_recv_common and l2tp_ioctlTom Parkin2-2/+2
2020-07-30l2tp: remove build_header callback in struct l2tp_sessionTom Parkin2-7/+4
2020-07-30l2tp: return void from l2tp_session_deleteTom Parkin3-10/+5
2020-07-30l2tp: don't export tunnel and session free functionsTom Parkin2-47/+46
2020-07-30l2tp: don't export __l2tp_session_unhashTom Parkin2-32/+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: don't BUG_ON seqfile checks in l2tp_pppTom Parkin1-1/+5
2020-07-24l2tp: don't BUG_ON session magic checks in l2tp_pppTom Parkin1-3/+7
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: WARN_ON rather than BUG_ON in l2tp_dfs_seq_startTom Parkin1-1/+4
2020-07-24l2tp: avoid multiple assignmentsTom Parkin3-9/+15
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-2/+2
2020-07-23l2tp: cleanup kzalloc callsTom Parkin1-2/+2
2020-07-23l2tp: cleanup netlink tunnel create address handlingTom Parkin1-24/+33
2020-07-23l2tp: cleanup netlink send of tunnel address informationTom Parkin1-56/+70
2020-07-23l2tp: check socket address type in l2tp_dfs_seq_tunnel_showTom Parkin1-3/+5
2020-07-23l2tp: cleanup unnecessary braces in if statementsTom Parkin2-17/+12
2020-07-23l2tp: cleanup comparisons to NULLTom Parkin6-48/+47
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: prefer seq_puts for unformatted outputTom Parkin1-2/+2
2020-07-22l2tp: prefer using BIT macroTom Parkin1-2/+2
2020-07-22l2tp: add identifier name in function pointer prototypeTom Parkin1-1/+1
2020-07-22l2tp: cleanup suspect code indentTom Parkin1-2/+2
2020-07-22l2tp: cleanup wonky alignment of line-broken function callsTom Parkin3-8/+8
2020-07-22l2tp: cleanup difficult-to-read line breaksTom Parkin2-44/+31
2020-07-22l2tp: cleanup commentsTom Parkin8-68/+47
2020-07-22l2tp: cleanup whitespace useTom Parkin7-48/+48
2020-07-19net/ipv6: remove compat_ipv6_{get,set}sockoptChristoph Hellwig1-4/+0
2020-07-19net/ipv4: remove compat_ip_{get,set}sockoptChristoph Hellwig1-4/+0
2020-07-19net: remove compat_sock_common_{get,set}sockoptChristoph Hellwig2-6/+0
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-4/+1
2020-07-08l2tp: remove skb_dst_set() from l2tp_xmit_skb()Xin Long1-4/+1
2020-06-28l2tp: fix l2tp_eth_dev_xmit()'s return typeLuc Van Oostenryck1-1/+1
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-1/+1
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller3-15/+47
2020-05-30l2tp: add sk_family checks to l2tp_validate_socketEric Dumazet1-0/+3
2020-05-30l2tp: do not use inet_hash()/inet_unhash()Eric Dumazet2-15/+44
2020-05-18ipv6: move SIOCADDRT and SIOCDELRT handling into ->compat_ioctlChristoph Hellwig1-0/+1
2020-05-04net: partially revert dynamic lockdep key changesCong Wang1-0/+1
2020-04-08l2tp: Allow management of tunnels and session in user namespaceMichael Weiß1-8/+8
2020-02-28l2tp: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
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-12-04net: ipv6: add net argument to ip6_dst_lookup_flowSabrina Dubroca1-1/+1
2019-10-24net: core: add generic lockdep keysTaehee Yoo1-1/+0
2019-10-01netfilter: drop bridge nf reset from nf_resetFlorian Westphal4-4/+4
2019-07-30compat_ioctl: pppoe: fix PPPOEIOCSFWD handlingArnd Bergmann1-0/+3
2019-07-08ipv6: elide flowlabel check if no exclusive leases existWillem de Bruijn1-2/+2
2019-06-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-12/+3
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner3-12/+3
2019-06-14l2tp: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-18/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner5-25/+5
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2019-05-07l2tp: Fix possible NULL pointer dereferenceYueHaibing1-1/+2
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+5
2019-04-30l2ip: fix possible use-after-freeEric Dumazet1-4/+4
2019-04-27genetlink: optionally validate strictly/dumpsJohannes Berg1-0/+9
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-2/+2
2019-04-26l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()Eric Dumazet1-1/+1
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann2-0/+2
2019-04-18l2tp: fix set but not used variableJakub Kicinski1-2/+1
2019-03-22genetlink: make policy common to familyJohannes Berg1-9/+1
2019-03-13l2tp: fix infoleak in l2tp_ip6_recvmsg()Eric Dumazet1-3/+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 Wen4-0/+30
2018-11-14l2tp: fix a sock refcnt leak in l2tp_tunnel_registerXin Long1-5/+4
2018-08-13l2tp: fix unused function warningArnd Bergmann3-12/+4
2018-08-13l2tp: use sk_dst_check() to avoid race on sk->sk_dst_cacheWei Wang1-1/+1
2018-08-11l2tp: let pppol2tp_ioctl() fallback to dev_ioctl()Guillaume Nault1-1/+1
2018-08-11l2tp: zero out stats in pppol2tp_copy_stats()Guillaume Nault1-4/+3
2018-08-11l2tp: remove pppol2tp_session_ioctl()Guillaume Nault1-47/+3
2018-08-11l2tp: remove pppol2tp_tunnel_ioctl()Guillaume Nault1-79/+53
2018-08-11l2tp: handle PPPIOC[GS]MRU and PPPIOC[GS]FLAGS in pppol2tp_ioctl()Guillaume Nault1-29/+44
2018-08-11l2tp: simplify pppol2tp_ioctl()Guillaume Nault1-27/+6
2018-08-11l2tp: split l2tp_session_get()Guillaume Nault6-36/+36
2018-08-11l2tp: define l2tp_tunnel_uses_xfrm()Guillaume Nault3-10/+21
2018-08-05Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+9
2018-08-03l2tp: fix missing refcount drop in pppol2tp_tunnel_ioctl()Guillaume Nault1-4/+9
2018-08-03l2tp: ignore L2TP_ATTR_MTUGuillaume Nault5-23/+9
2018-08-03l2tp: simplify MTU handling in l2tp_pppGuillaume Nault1-49/+18
2018-08-03l2tp: define l2tp_tunnel_dst_mtu()Guillaume Nault3-21/+26
2018-07-27l2tp: drop ->mru from struct l2tp_sessionGuillaume Nault5-50/+8
2018-07-27l2tp: drop ->flags from struct pppol2tp_sessionGuillaume Nault1-11/+2
2018-07-27l2tp: ignore L2TP_ATTR_VLAN_ID netlink attributeGuillaume Nault2-4/+0
2018-07-27l2tp: ignore L2TP_ATTR_DATA_SEQ netlink attributeGuillaume Nault3-17/+1
2018-07-26l2tp: remove ->recv_payload_hookGuillaume Nault5-39/+18
2018-07-24l2tp: remove trailing newlineStephen Hemminger1-1/+0
2018-07-07ipv6: fold sockcm_cookie into ipcm6_cookieWillem de Bruijn1-4/+2
2018-07-07ipv6: ipcm6_cookie initializerWillem de Bruijn1-3/+1
2018-07-03Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-3/+3
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds3-3/+3
2018-06-28l2tp: define helper for parsing struct sockaddr_pppol2tp*Guillaume Nault1-70/+103
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 Nault2-3/+1
2018-06-26l2tp: don't export l2tp_session_queue_purge()Guillaume Nault2-3/+1
2018-06-26l2tp: remove l2tp_tunnel_priv()Guillaume Nault1-7/+0
2018-06-26l2tp: remove .show from struct l2tp_tunnelGuillaume Nault2-6/+0
2018-06-26l2tp: remove pppol2tp_session_close()Guillaume Nault1-7/+0
2018-06-15l2tp: filter out non-PPP sessions in pppol2tp_tunnel_ioctl()Guillaume Nault1-1/+1
2018-06-15l2tp: reject creation of non-PPP sessions on L2TPv2 tunnelsGuillaume Nault1-0/+6
2018-06-14l2tp: clean up stale tunnel or session in pppol2tp_connect's error pathGuillaume Nault1-0/+10
2018-06-14l2tp: prevent pppol2tp_connect() from creating kernel socketsGuillaume Nault1-0/+9
2018-06-14l2tp: only accept PPP sessions in pppol2tp_connect()Guillaume Nault1-0/+6
2018-06-14l2tp: fix pseudo-wire type for sessions created by pppol2tp_connect()Guillaume Nault1-0/+1
2018-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds2-33/+43
2018-06-05l2tp: fix refcount leakage on PPPoL2TP socketsGuillaume Nault1-18/+17
2018-06-04Merge branch 'work.aio-1' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds3-3/+3
2018-05-26net: convert datagram_poll users tp ->poll_maskChristoph Hellwig3-3/+3
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-20/+2
2018-04-27l2tp: consistent reference counting in procfs and debufsGuillaume Nault2-15/+26
2018-04-23l2tp: check sockaddr length in pppol2tp_connect()Guillaume Nault1-0/+7
2018-04-22l2tp: fix {pppol2tp, l2tp_dfs}_seq_stop() in case of seq_file overflowGuillaume Nault2-2/+8
2018-04-13l2tp: hold reference on tunnels printed in l2tp/tunnels debugfs fileGuillaume Nault3-23/+13
2018-04-13l2tp: hold reference on tunnels printed in pppol2tp proc fileGuillaume Nault1-7/+17
2018-04-13l2tp: hold reference on tunnels in netlink dumpsGuillaume Nault3-3/+30
2018-04-11l2tp: fix race in duplicate tunnel detectionGuillaume Nault3-28/+14
2018-04-11l2tp: fix races in tunnel creationGuillaume Nault4-110/+110
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai2-2/+0
2018-03-26net: Use octal not symbolic permissionsJoe Perches1-1/+1
2018-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-25/+24
2018-03-17net: Convert l2tp_net_opsKirill Tkhai1-0/+1
2018-03-12l2tp: fix races with ipv4-mapped ipv6 addressesPaolo Abeni2-23/+18
2018-03-07l2tp: do not accept arbitrary socketsEric Dumazet1-2/+6
2018-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller5-166/+77
2018-02-27net: Convert /proc creating and destroying pernet_operationsKirill Tkhai1-0/+1
2018-02-26l2tp: fix tunnel lookup use-after-free raceJames Chapman1-7/+7
2018-02-26l2tp: fix race in pppol2tp_release with session object destroyJames Chapman1-25/+27
2018-02-26l2tp: fix races with tunnel socket closeJames Chapman4-116/+42
2018-02-26l2tp: don't use inet_shutdown on ppp session destroyJames Chapman1-10/+0