aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp
AgeCommit message (Expand)AuthorFilesLines
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
2018-02-26l2tp: don't use inet_shutdown on tunnel destroyJames Chapman1-9/+2
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko3-9/+6
2018-01-19l2tp: remove switch block in l2tp_nl_cmd_session_create()Lorenzo Bianconi1-21/+0
2018-01-19l2tp: remove l2specific_len configurable parameterLorenzo Bianconi4-8/+1
2018-01-19l2tp: remove l2specific_len dependency in l2tp_coreLorenzo Bianconi2-18/+27
2018-01-19l2tp: double-check l2specific_type provided by userspaceLorenzo Bianconi1-2/+9
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan1-1/+0
2018-01-08l2tp: adjust comments about L2TPv3 offsetsGuillaume Nault1-4/+3
2018-01-05l2tp: remove configurable payload offsetJames Chapman4-18/+6
2018-01-05l2tp: revert "l2tp: fix missing print session offset info"James Chapman1-2/+0
2018-01-05l2tp: revert "l2tp: add peer_offset parameter"James Chapman4-37/+8
2017-12-27l2tp: add peer_offset parameterLorenzo Bianconi4-8/+37
2017-12-27l2tp: fix missing print session offset infoHangbin Liu1-0/+2
2017-11-14l2tp: exit_net cleanup check addedVasily Averin1-0/+4
2017-11-11l2tp: remove the .tunnel_sock field from struct pppol2tp_sessionGuillaume Nault1-10/+0
2017-11-11l2tp: avoid using ->tunnel_sock for getting session's parent tunnelGuillaume Nault1-54/+12
2017-11-11l2tp: remove .tunnel_sock from struct l2tp_ethGuillaume Nault1-2/+0
2017-11-11l2tp: don't close sessions in l2tp_tunnel_destruct()Guillaume Nault1-2/+0
2017-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-30/+18
2017-11-05l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6Guillaume Nault2-30/+18
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2017-11-02Merge tag 'spdx_identifiers-4.14-rc8' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-11-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+6
2017-11-01l2tp: remove field 'dev' from struct l2tp_ethGuillaume Nault1-5/+0
2017-11-01l2tp: remove l2tp_tunnel_count and l2tp_session_countGuillaume Nault1-10/+0
2017-11-01l2tp: remove l2tp specific refcount debuggingGuillaume Nault1-22/+2
2017-11-01l2tp: remove ->ref() and ->deref()Guillaume Nault7-79/+25
2017-10-31l2tp: hold tunnel in pppol2tp_connect()Guillaume Nault1-1/+6
2017-10-29l2tp: initialise PPP sessions before registering themGuillaume Nault1-31/+38
2017-10-29l2tp: protect sock pointer of struct pppol2tp_session with RCUGuillaume Nault1-53/+101
2017-10-29l2tp: initialise l2tp_eth sessions before registering themGuillaume Nault1-31/+75
2017-10-29l2tp: don't register sessions in l2tp_session_create()Guillaume Nault4-20/+36
2017-10-27l2tp: cleanup l2tp_tunnel_delete callsJiri Slaby2-2/+2
2017-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2017-10-19net: l2tp: mark expected switch fall-throughGustavo A. R. Silva1-1/+1
2017-10-14l2tp: check ps->sock before running pppol2tp_session_ioctl()Guillaume Nault1-0/+3
2017-10-01l2tp: fix l2tp_eth module loadingGuillaume Nault1-49/+2
2017-09-26l2tp: fix race condition in l2tp_tunnel_deleteSabrina Dubroca2-7/+8
2017-09-25l2tp: fix race between l2tp_session_delete() and l2tp_tunnel_closeall()Guillaume Nault2-0/+7
2017-09-25l2tp: ensure sessions are freed after their PPPOL2TP socketGuillaume Nault1-4/+4
2017-09-03l2tp: pass tunnel pointer to ->session_create()Guillaume Nault4-25/+17
2017-09-03l2tp: prevent creation of sessions on terminated tunnelsGuillaume Nault2-13/+32
2017-08-28l2tp: hold tunnel used while creating sessions with netlinkGuillaume Nault1-9/+12
2017-08-28l2tp: hold tunnel while handling genl TUNNEL_GET commandsGuillaume Nault1-12/+15
2017-08-28l2tp: hold tunnel while handling genl tunnel updatesGuillaume Nault1-2/+4
2017-08-28l2tp: hold tunnel while processing genl delete commandGuillaume Nault1-2/+4
2017-08-28l2tp: hold tunnel while looking up sessions in l2tp_netlinkGuillaume Nault3-47/+38
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, Elena2-6/+6
2017-07-04net, l2tp: convert l2tp_tunnel.ref_count from atomic_t to refcount_tReshetova, Elena4-11/+12
2017-07-01net: convert sock.sk_refcnt from atomic_t to refcount_tReshetova, Elena1-2/+1
2017-06-10l2tp: cast l2tp traffic counter to unsignedDominik Heidler1-6/+7
2017-06-07net: Fix inconsistent teardown and release of private netdev state.David S. Miller1-1/+1
2017-04-27l2tp: remove useless device duplication test in l2tp_eth_create()Guillaume Nault1-6/+0
2017-04-25l2tp: define "l2tpeth" device typeGuillaume Nault1-0/+5
2017-04-25l2tp: set name_assign_type for devices created by l2tp_eth.cGuillaume Nault1-2/+6
2017-04-17l2tp: device MTU setup, tunnel socket needs a lockR. Parameswaran1-0/+2
2017-04-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+6
2017-04-12l2tp: define parameters of l2tp_tunnel_find*() as "const"Guillaume Nault2-4/+4
2017-04-12l2tp: define parameters of l2tp_session_get*() as "const"Guillaume Nault2-5/+7
2017-04-11l2tp: remove l2tp_session_find()Guillaume Nault2-53/+1
2017-04-11l2tp: remove useless duplicate session detection in l2tp_netlinkGuillaume Nault1-5/+0
2017-04-08l2tp: don't mask errors in pppol2tp_getsockopt()Guillaume Nault1-1/+6
2017-04-08l2tp: don't mask errors in pppol2tp_setsockopt()Guillaume Nault1-2/+0
2017-04-06L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.R. Parameswaran1-4/+51
2017-04-04l2tp: fix PPP pseudo-wire auto-loadingGuillaume Nault1-1/+1
2017-04-04l2tp: take reference on sessions being dumpedGuillaume Nault5-11/+27
2017-04-01l2tp: take a reference on sessions used in genetlink handlersGuillaume Nault3-16/+35
2017-04-01l2tp: hold session while sending creation notificationsGuillaume Nault1-2/+4
2017-04-01l2tp: fix duplicate session creationGuillaume Nault3-56/+84
2017-04-01l2tp: ensure session can't get removed during pppol2tp_session_ioctl()Guillaume Nault1-4/+11
2017-04-01l2tp: fix race in l2tp_recv_common()Guillaume Nault4-23/+88
2017-03-29l2tp: purge socket queues in the .destruct() callbackGuillaume Nault1-3/+4
2017-03-29l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6Guillaume Nault2-4/+6
2017-02-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+1
2017-02-27lib/vsprintf.c: remove %Z supportAlexey Dobriyan1-2/+2
2017-02-26l2tp: avoid use-after-free caused by l2tp_ip_backlog_recvPaul Hüber1-1/+1
2017-02-22l2tp: Avoid schedule while atomic in exit_netRidge Kennedy1-1/+3
2017-02-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-2/+28
2017-02-10l2tp: do not use udp_ioctl()Eric Dumazet3-2/+28
2017-02-07net: use dst_confirm_neigh for UDP, RAW, ICMP, L2TPJulian Anastasov1-1/+2
2017-01-08net: make ndo_get_stats64 a void functionstephen hemminger1-4/+2
2017-01-06l2tp: rework socket comparison in __l2tp_ip*_bind_lookup()Guillaume Nault2-14/+35
2017-01-06l2tp: remove useless NULL check in __l2tp_ip*_bind_lookup()Guillaume Nault2-6/+0
2017-01-06l2tp: make __l2tp_ip*_bind_lookup() parameters 'const'Guillaume Nault2-5/+5
2017-01-06l2tp: remove redundant addr_len check in l2tp_ip_bind()Guillaume Nault1-1/+1
2017-01-01l2tp: take remote address into account in l2tp_ip and l2tp_ip6 socket lookupsGuillaume Nault2-27/+12
2017-01-01l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookupGuillaume Nault1-2/+2
2016-12-10net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*Asbjørn Sloth Tønnesen1-27/+27
2016-12-10net: l2tp: export debug flags to UAPIAsbjørn Sloth Tønnesen1-10/+0
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-66/+76
2016-11-30l2tp: fix address test in __l2tp_ip6_bind_lookup()Guillaume Nault1-1/+1
2016-11-30l2tp: fix lookup for sockets not bound to a device in l2tp_ipGuillaume Nault2-5/+8
2016-11-30l2tp: fix racy socket lookup in l2tp_ip and l2tp_ip6 bind()Guillaume Nault2-38/+32
2016-11-30l2tp: hold socket before dropping lock in l2tp_ip{, 6}_recv()Guillaume Nault2-10/+12
2016-11-30l2tp: lock socket before checking flags in connect()Guillaume Nault2-12/+23
2016-11-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-11-23net: revert "net: l2tp: Treat NET_XMIT_CN as success in l2tp_eth_dev_xmit"WANG Cong1-1/+1
2016-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-5/+7
2016-11-21net: l2tp: Treat NET_XMIT_CN as success in l2tp_eth_dev_xmitGao Feng1-1/+1
2016-11-19l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()Guillaume Nault2-4/+6
2016-11-09net: l2tp: fix negative assignment to unsigned intAsbjørn Sloth Tønnesen2-4/+4
2016-11-09net: l2tp: cleanup: remove redundant conditionAsbjørn Sloth Tønnesen1-6/+6
2016-11-09net: l2tp: netlink: l2tp_nl_tunnel_send: set UDP6 checksum flagsAsbjørn Sloth Tønnesen1-0/+10
2016-11-09net: l2tp: only set L2TP_ATTR_UDP_CSUM if AF_INETAsbjørn Sloth Tønnesen1-2/+7
2016-11-04net: inet: Support UID-based routing in IP protocols.Lorenzo Colitti1-0/+1
2016-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-2/+2
2016-10-27genetlink: mark families as __ro_after_initJohannes Berg1-2/+2
2016-10-27genetlink: statically initialize familiesJohannes Berg1-10/+15
2016-10-27genetlink: no longer support using static family IDsJohannes Berg1-1/+0
2016-10-21net: remove MTU limits on a few ether_setup callersJarod Wilson1-0/+2
2016-10-20udp: must lock the socket in udp_disconnect()Eric Dumazet2-2/+2
2016-09-17l2tp: constify net_device_ops structuresJulia Lawall1-1/+1
2016-09-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2016-09-10l2tp: use IS_ENABLED() instead of checking for built-in or moduleJavier Martinez Canillas3-5/+5
2016-09-02l2tp: fix use-after-free during module unloadSabrina Dubroca1-0/+3
2016-09-01l2tp: make nla_policy conststephen hemminger1-1/+1
2016-08-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-08-23l2tp: Refactor the codes with existing macros instead of literal numberGao Feng1-11/+9
2016-08-21Revert "l2tp: Refactor the codes with existing macros instead of literal number"David S. Miller1-4/+4
2016-08-21l2tp: Refactor the codes with existing macros instead of literal numberGao Feng1-4/+4
2016-08-19l2tp: Fix the connect status check in pppol2tp_getnameGao Feng1-1/+1
2016-07-26l2tp: Correctly return -EBADF from pppol2tp_getname.phil.turnbull@oracle.com1-5/+2
2016-06-11ipv6: use TOS marks from sockets for routing decisionHannes Frederic Sowa1-3/+5
2016-06-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-06-09net: add netdev_lockdep_set_classes() helperEric Dumazet1-5/+1
2016-06-08l2tp: fix configuration passed to setup_udp_tunnel_sock()Guillaume Nault1-1/+1
2016-06-07net_sched: transform qdisc running bit into a seqcountEric Dumazet1-0/+4
2016-05-30net: l2tp: Make l2tp_ip6 namespace awareShmulik Ladkani1-5/+7
2016-05-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2016-05-03ipv6: add new struct ipcm6_cookieWei Wang1-15/+18
2016-05-01net: l2tp: fix reversed udp6 checksum flagsWang Shanker1-2/+2
2016-04-25l2tp: use nla_put_u64_64bit()Nicolas Dichtel1-32/+48
2016-04-23libnl: nla_put_msecs(): align on a 64-bit areaNicolas Dichtel1-1/+2
2016-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-6/+10
2016-04-04ipv6: l2tp: fix a potential issue in l2tp_ip6_recvHaishuang Yan1-3/+5
2016-04-04ipv4: l2tp: fix a potential issue in l2tp_ip_recvHaishuang Yan1-3/+5
2016-04-04sock: enable timestamping using control messagesSoheil Hassas Yeganeh1-1/+1
2016-04-04ipv6: process socket-level control messages in IPv6Soheil Hassas Yeganeh1-3/+5
2016-02-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+14
2016-02-17l2tp: Fix error creating L2TP tunnelsMark Tomlinson1-4/+14
2016-02-11inet: create IPv6-equivalent inet_hash functionCraig Gallek1-1/+2
2016-01-04l2tp: rely on ppp layer for skb scrubbingGuillaume Nault1-16/+1
2015-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+6
2015-12-03pppox: use standard module auto-loading featureGuillaume Nault1-1/+1
2015-12-02ipv6: add complete rcu protection around np->optEric Dumazet1-2/+6
2015-10-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+9
2015-09-28l2tp: protect tunnel->del_work by ref_countAlexander Couzens1-2/+9
2015-09-25l2tp: auto load IP modulesstephen hemminger2-0/+2
2015-09-25l2tp: auto load type modulesstephen hemminger4-0/+12
2015-05-11net: Modify sk_alloc to not reference count the netns of kernel sockets.Eric W. Biederman1-9/+6
2015-05-11net: Pass kern from net_proto_family.create to sk_allocEric W. Biederman1-2/+2
2015-05-11net: Add a struct net parameter to sock_create_kernEric W. Biederman1-2/+2
2015-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2015-04-06l2tp: unregister l2tp_net_ops on failure pathWANG Cong1-0/+1
2015-03-31netlink: implement nla_get_in_addr and nla_get_in6_addrJiri Benc1-2/+2
2015-03-31netlink: implement nla_put_in_addr and nla_put_in6_addrJiri Benc1-6/+8
2015-03-03l2tp: Use eth_<foo>_addr instead of memsetJoe Perches1-1/+1
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue3-11/+8
2015-01-18netlink: make nlmsg_end() and genlmsg_end() voidJohannes Berg1-4/+6
2014-12-31l2tp : multicast notification to the registered listenersBill Hong1-10/+91
2014-12-09ip_generic_getfrag, udplite_getfrag: switch to passing msghdrAl Viro1-1/+1
2014-11-24new helper: memcpy_from_msg()Al Viro2-3/+2
2014-11-21l2tp_eth: allow to set a specific mac addressAlexander Couzens1-0/+1
2014-11-05net: Add and use skb_copy_datagram_msg() helper.David S. Miller3-3/+3
2014-09-19l2tp: Refactor l2tp core driver to make use of the common UDP tunnel functionsAndy Zhou1-14/+10
2014-09-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2014-09-05l2tp: fix missing line continuationAndy Zhou1-1/+1
2014-09-05l2tp: fix race while getting PMTU on PPP pseudo-wireGuillaume Nault1-1/+2
2014-09-01l2tp: Enable checksum unnecessary conversions for l2tp/UDP socketsTom Herbert1-0/+2
2014-07-31net: use inet6_iif instead of IP6CB()->iifDuan Jiong1-1/+1
2014-07-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2014-07-15net: set name_assign_type in alloc_netdev()Tom Gundersen1-1/+2
2014-07-14net/l2tp: don't fall back on UDP [get|set]sockoptSasha Levin1-2/+2
2014-07-14l2tp: Call udp_sock_createTom Herbert2-59/+28
2014-06-04l2tp: call udp{6}_set_csumTom Herbert1-49/+5
2014-05-23l2tp: Add support for zero IPv6 checksumsTom Herbert3-2/+18
2014-05-23net: Split sk_no_check into sk_no_check_{rx,tx}Tom Herbert2-4/+3
2014-05-23net: Eliminate no_check from protoswTom Herbert2-2/+0
2014-05-12net: rename local_df to ignore_dfWANG Cong1-1/+1
2014-05-08l2tp: Remove UDP checksum verificationTom Herbert1-56/+1
2014-04-30net: ipv6: Introduce ip6_sk_dst_hoplimit.Lorenzo Colitti1-8/+2
2014-04-15ipv4: add a sock pointer to ip_queue_xmit()Eric Dumazet2-3/+3
2014-04-09l2tp: take PMTU from tunnel UDP socketDmitry Petukhov1-2/+2
2014-04-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds2-26/+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. Miller4-8/+14
2014-03-10l2tp: fix unused variable warningEric Dumazet1-2/+1
2014-03-07l2tp: keep original skb ownershipEric Dumazet1-21/+2
2014-03-06l2tp: fix userspace reception on plain L2TP socketsGuillaume Nault1-5/+7
2014-03-06l2tp: fix manual sequencing (de)activation in L2TPv2Guillaume Nault4-3/+7
2014-02-13net: remove unnecessary return'sstephen hemminger2-5/+0