aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-04ipv6: sit: Add ipip6_tunnel_dst_find() for cleanupYue Haibing1-56/+48
2025-06-17net: ipv4: Add a flags argument to iptunnel_xmit(), udp_tunnel_xmit_skb()Petr Machata1-1/+1
2025-04-14ipv6: Convert tunnel devices' ->exit_batch_rtnl() to ->exit_rtnl().Kuniyuki Iwashima1-17/+6
2025-03-08net: move misc netdev_lock flavors to a separate headerJakub Kicinski1-0/+1
2025-03-04net: rename netns_local to netns_immutableNicolas Dichtel1-1/+1
2025-02-21net: ipv6: Use link netns in newlink() of rtnl_link_opsXiao Liang1-3/+3
2025-02-21net: ipv6: Init tunnel link-netns before registering devXiao Liang1-3/+5
2025-02-21rtnetlink: Pack newlink() params into structXiao Liang1-2/+4
2024-09-04ipv6: sit: Unmask upper DSCP bits in ipip6_tunnel_bind_dev()Ido Schimmel1-1/+1
2024-09-03netdev_features: convert NETIF_F_NETNS_LOCAL to dev->netns_localAlexander Lobakin1-1/+1
2024-09-03netdev_features: convert NETIF_F_LLTX to dev->lltxAlexander Lobakin1-1/+1
2024-08-31ipv6: sit: Unmask upper DSCP bits in ipip6_tunnel_xmit()Ido Schimmel1-2/+3
2024-04-01ip_tunnel: convert __be16 tunnel flags to bitmapsAlexander Lobakin1-2/+3
2024-04-01ip_tunnel: use a separate struct to store tunnel params in the kernelAlexander Lobakin1-15/+18
2024-02-29net: sit: Do not set .ndo_get_stats64Breno Leitao1-1/+0
2024-02-22ipv6/sit: Do not allocate stats in the driverBreno Leitao1-8/+4
2024-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2024-02-13net: add netdev_lockdep_set_classes() to virtual driversEric Dumazet1-0/+1
2024-02-09net: fill in MODULE_DESCRIPTION()s for ipv6 modulesBreno Leitao1-0/+1
2024-02-07sit: use exit_batch_rtnl() methodEric Dumazet1-8/+5
2023-04-28sit: update dev->needed_headroom in ipip6_tunnel_bind_dev()Cong Wang1-3/+5
2023-04-12ipip,ip_tunnel,sit: Add FOU support for externally controlled ipip devicesChristian Ehrig1-1/+1
2022-11-16ipv6/sit: use DEV_STATS_INC() to avoid data-racesEric Dumazet1-11/+11
2022-10-25ipv6: ensure sane device mtu in tunnelsEric Dumazet1-3/+5
2022-10-03net: Add helper function to parse netlink msg of ip_tunnel_parmLiu Jian1-26/+1
2022-10-03net: Add helper function to parse netlink msg of ip_tunnel_encapLiu Jian1-36/+2
2022-08-22ipv6: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+3
2022-06-28ipv6/sit: fix ipip6_tunnel_get_prl return valuekatrinzhou1-5/+3
2022-06-09sit: use dev_sw_netstats_rx_add()Eric Dumazet1-7/+1
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-2/+2
2022-01-12sit: allow encapsulated IPv6 traffic to be delivered locallyIgnat Korchagin1-1/+1
2021-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+0
2021-12-16sit: do not call ipip6_dev_free() from sit_init_net()Eric Dumazet1-1/+0
2021-12-06sit: add net device refcount tracking to ip_tunnelEric Dumazet1-2/+2
2021-10-13ip: use dev_addr_set() in tunnelsJakub Kicinski1-2/+2
2021-07-27ip_tunnel: use ndo_siocdevprivateArnd Bergmann1-17/+18
2021-07-20memcg: ipv6/sit: account and don't WARN on ip_tunnel_prl structs allocationVasily Averin1-2/+3
2021-06-28sit: allow redirecting ip6ip, ipip and mplsip packets to eth devicesGuillaume Nault1-0/+4
2021-06-07Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+3
2021-06-03sit: set name of device back to struct parmszhang kai1-0/+3
2021-06-02sit: replace 68 with micro IPV4_MIN_MTUzhang kai1-1/+1
2021-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-04-13net: sit: Unregister catch-all devicesHristo Venev1-2/+2
2021-03-31ipv6: remove extra dev_hold() for fallback tunnelsEric Dumazet1-1/+0
2021-03-29sit: proper dev_{hold|put} in ndo_[un]init methodsEric Dumazet1-3/+1
2021-03-28sit: use minkernel test robot1-1/+1
2021-03-01net: always use icmp{,v6}_ndo_send from ndo_start_xmitJason A. Donenfeld1-1/+1
2021-01-14net: sit: unregister_netdevice on newlink's error pathJakub Kicinski1-1/+4
2020-11-12Merge https://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+0
2020-11-09ipv4/ipv6: switch to dev_get_tstats64Heiner Kallweit1-1/+1
2020-11-09IPv6: Set SIT tunnel hard_header_len to zeroOliver Herms1-2/+0
2020-06-30net: sit: implement header_ops->parse_protocol for AF_PACKETJason A. Donenfeld1-0/+1
2020-05-19sit: impement ->ndo_tunnel_ctlChristoph Hellwig1-39/+34
2020-05-19sit: refactor ipip6_tunnel_ioctlChristoph Hellwig1-158/+210
2019-12-24sit: do not confirm neighbor when do pmtu updateHangbin Liu1-1/+1
2019-07-14sit: use dst_cache in ipip6_tunnel_xmitHaishuang Yan1-4/+9
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-07vrf: sit mtu should not be updated when vrf netdev is the linkStephen Suryaputra1-1/+1
2019-04-04ipv6: sit: reset ip header pointer in ipip6_rcvLorenzo Bianconi1-0/+4
2019-03-11net: sit: fix UBSAN Undefined behaviour in check_6rdMiaohe Lin1-2/+3
2019-03-02net: sit: fix memory leak in sit_init_net()Mao Wenan1-0/+1
2019-02-07sit: check if IPv6 enabled before calling ip6_err_gen_icmpv6_unreach()Hangbin Liu1-1/+2
2019-01-01ip: validate header length on virtual device xmitWillem de Bruijn1-0/+3
2018-09-26net-ipv4: remove 2 always zero parameters from ipv4_redirect()Maciej Żenczykowski1-2/+2
2018-09-26net-ipv4: remove 2 always zero parameters from ipv4_update_pmtu()Maciej Żenczykowski1-1/+1
2018-06-01ip6_tunnel: remove magic mtu value 0xFFF8Nicolas Dichtel1-2/+3
2018-04-05ipv6: sit: better validate user provided tunnel namesEric Dumazet1-3/+5
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-09net: do not create fallback tunnels for non-default namespacesEric Dumazet1-1/+4
2018-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+7
2018-02-27sit: fix IFLA_MTU ignored on NEWLINKXin Long1-0/+7
2018-02-27net: Convert sit_net_opsKirill Tkhai1-0/+1
2018-02-23ipv6 sit: work around bogus gcc-8 -Wrestrict warningArnd Bergmann1-1/+1
2018-01-25net: don't call update_pmtu unconditionallyNicolas Dichtel1-2/+2
2017-11-30sit: update frag_off infoHangbin Liu1-0/+1
2017-11-01net: sit: Update lookup to handle links set to L3 slaveDavid Ahern1-10/+21
2017-09-19ipv6: speedup ipv6 tunnels dismantleEric Dumazet1-3/+6
2017-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.validateMatthias Schiffer1-1/+2
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.changelinkMatthias Schiffer1-1/+2
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.newlinkMatthias Schiffer1-1/+2
2017-06-23sit: use __GFP_NOWARN for user controlled allocationWANG Cong1-1/+1
2017-06-07net: Fix inconsistent teardown and release of private netdev state.David S. Miller1-3/+3
2017-04-21ip_tunnel: Allow policy-based routing through tunnelsCraig Gallek1-13/+24
2017-02-08sit: fix a double free on error pathWANG Cong1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-18netns: make struct pernet_operations::id unsigned intAlexey Dobriyan1-1/+1
2016-10-20ipv4/6: use core net MTU range checkingJarod Wilson1-12/+2
2016-08-12sit: make function ipip6_valid_ip_proto() staticWei Yongjun1-1/+1
2016-08-10net: resolve symbol conflicts with generic hashtable.hJiri Kosina1-5/+5
2016-07-09sit: support MPLS over IPv4Simon Horman1-16/+77
2016-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2016-06-18ipv6: RFC 4884 partial support for SIT/GRE tunnelsEric Dumazet1-1/+3
2016-06-18ipv6: translate ICMP_TIME_EXCEEDED to ICMPV6_TIME_EXCEEDEric Dumazet1-3/+3
2016-06-18ip6: move ipip6_err_gen_icmpv6_unreach()Eric Dumazet1-37/+1
2016-06-16sit: correct IP protocol used in ipip6_errSimon Horman1-2/+2
2016-06-09sit: remove unnecessary protocol check in ipip6_tunnel_xmit()Simon Horman1-3/+0
2016-05-20net: define gso types for IPx over IPv4 and IPv6Tom Herbert1-2/+2
2016-04-16ip_tunnel_core: iptunnel_handle_offloads returns int and doesn't free skbAlexander Duyck1-8/+6
2016-03-20tunnels: Remove encapsulation offloads on decap.Jesse Gross1-2/+4
2016-02-18iptunnel: scrub packet in iptunnel_pull_headerJiri Benc1-1/+1
2016-02-16ip_tunnel: replace dst_cache with generic implementationPaolo Abeni1-8/+9
2016-02-12net: ip_tunnel: remove 'csum_help' argument to iptunnel_handle_offloadsEdward Cree1-2/+2
2016-01-25sit: set rtnl_link_ops before calling register_netdeviceThadeu Lima de Souza Cascardo1-2/+2
2015-12-25ip_tunnel: Move stats update to iptunnel_xmit()Pravin B Shelar1-5/+2
2015-11-02sit: fix sit0 percpu double allocationsEric Dumazet1-22/+4
2015-08-10ip_gre: Add support to collect tunnel metadata.Pravin B Shelar1-1/+1
2015-04-08ipv6: call iptunnel_xmit with NULL sock pointer if no tunnel sock is availableHannes Frederic Sowa1-1/+1
2015-04-02ipip,gre,vti,sit: implement ndo_get_iflinkNicolas Dichtel1-2/+1
2015-03-31netlink: implement nla_get_in_addr and nla_get_in6_addrJiri Benc1-2/+1
2015-03-31netlink: implement nla_put_in_addr and nla_put_in6_addrJiri Benc1-6/+6
2015-03-31ipv6: coding style: comparison for inequality with NULLIan Morris1-5/+5
2015-03-31ipv6: coding style: comparison for equality with NULLIan Morris1-6/+6
2015-02-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+4
2015-02-05sit: fix some __be16/u16 mismatchesEric Dumazet1-4/+4
2015-01-19tunnels: advertise link netns via netlinkNicolas Dichtel1-0/+1
2014-11-23ipv6: coding style improvements (remove assignment in if statements)Ian Morris1-3/+4
2014-11-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+6
2014-11-05fou: Fix typo in returning flags in netlinkTom Herbert1-1/+1
2014-11-03sit: Use ipip6_tunnel_init as the ndo_init function.Steffen Klassert1-9/+6
2014-10-18ipv6: fix a potential use after free in sit.cLi RongQing1-3/+3
2014-10-07net: better IFF_XMIT_DST_RELEASE supportEric Dumazet1-1/+1
2014-10-01sit: Set inner IP protocol in sitTom Herbert1-0/+4
2014-09-19sit: Setup and TX path for sit/UDP foo-over-udp encapsulationTom Herbert1-10/+97
2014-08-24ipv6: White-space cleansing : Line LayoutsIan Morris1-6/+6
2014-08-14sit: Fix ipip6_tunnel_lookup device matching criteriaShmulik Ladkani1-3/+3
2014-07-15net: set name_assign_type in alloc_netdev()Tom Gundersen1-1/+3
2014-06-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2014-06-10ipip, sit: fix ipv4_{update_pmtu,redirect} callsDmitry Popov1-2/+2
2014-05-21net: tunnels - enable module autoloadingTom Gundersen1-0/+1
2014-04-16sit: use the right netns in ioctl handlerNicolas Dichtel1-13/+4
2014-04-15ipv4: add a sock pointer to dst->output() path.Eric Dumazet1-2/+3
2014-03-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+19
2014-02-20sit: fix panic with route cache in ip tunnelsNicolas Dichtel1-0/+19
2014-02-14net: introduce netdev_alloc_pcpu_stats() for driversWANG Cong1-16/+2
2014-01-06Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+6
2014-01-04net: unify the pcpu_tstats and br_cpu_netstats as oneLi RongQing1-5/+5
2014-01-01ipv6: fix the use of pcpu_tstats in sitLi RongQing1-0/+2
2013-12-27ipv6: release dst properly in ipip6_tunnel_xmitLi RongQing1-1/+3
2013-12-18ipv6: sit: update mtu check to take care of gso packetsEric Dumazet1-1/+1
2013-11-28sit: use kfree_skb to replace dev_kfree_skbGao feng1-3/+3
2013-11-23sit: generate icmpv6 error when receiving icmpv4 errorOussama Ghorbel1-6/+38
2013-11-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-4/+14
2013-11-14sit: fix use after free of fb_tunnel_devWillem de Bruijn1-4/+14
2013-11-14Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+15
2013-11-06net: Explicitly initialize u64_stats_sync structures for lockdepJohn Stultz1-0/+15
2013-10-21ipv6: sit: add GSO/TSO supportEric Dumazet1-9/+19
2013-10-01sit: allow to use rtnl ops on fb tunnelNicolas Dichtel1-1/+1
2013-09-28IPv6 NAT: Do not drop DNATed 6to4/6rd packetsCatalin\(ux\) M. BOIE1-15/+69
2013-09-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+7
2013-09-04tunnels: harmonize cleanup done on skb on rx pathNicolas Dichtel1-5/+1
2013-09-04tunnels: harmonize cleanup done on skb on xmit pathNicolas Dichtel1-4/+1
2013-09-04skb: allow skb_scrub_packet() to be used by tunnelsNicolas Dichtel1-2/+2
2013-09-04iptunnels: remove net arg from iptunnel_xmit()Nicolas Dichtel1-2/+2
2013-08-30ipv4 tunnels: fix an oops when using ipip/sit with IPsecLi Hongjun1-4/+2
2013-08-19ipv6: wire up skb->encapsulationHannes Frederic Sowa1-0/+5
2013-08-15ipv4 tunnels: use net_eq() helper to check netnsNicolas Dichtel1-3/+3
2013-07-04sit: fix tunnel update via netlinkNicolas Dichtel1-2/+2
2013-07-01ipv6: only apply anti-spoofing checks to not-pointopoint tunnelsHannes Frederic Sowa1-1/+1
2013-06-27sit: add support of x-netnsNicolas Dichtel1-10/+32
2013-06-19sit: fix an oops when IFLA_IPTUN_PROTO is not setNicolas Dichtel1-1/+1
2013-06-19ip_tunnel: push generic protocol handling to ip_tunnel module.Pravin B Shelar1-1/+6
2013-06-19ip_tunnels: extend iptunnel_xmit()Pravin B Shelar1-29/+10
2013-05-31sit: add IPv4 over IPv4 supportNicolas Dichtel1-3/+116
2013-03-26Tunneling: use IP Tunnel stats APIs.Pravin B Shelar1-36/+1
2013-03-26GRE: Refactor GRE tunneling code.Pravin B Shelar1-1/+1
2013-03-10tunnel: use iptunnel_xmit() againCong Wang1-0/+2
2013-01-29ipv6: add anti-spoofing checks for 6to4 and 6rdHannes Frederic Sowa1-13/+41
2013-01-18ipv6: remove unneeded check to pskb_may_pull in ipip6_rcvHannes Frederic Sowa1-6/+1
2012-11-28ip6tnl/sit: drop packet if ECN present with not-ECTNicolas Dichtel1-12/+21
2012-11-20sit: allow to configure 6rd tunnels via netlinkNicolas Dichtel1-25/+124
2012-11-18net: Allow userns root to control ipv6Eric W. Biederman1-4/+4
2012-11-15sit: fix sparse warningsNicolas Dichtel1-5/+5
2012-11-14sit: add support of link creation via rtnlNicolas Dichtel1-28/+150
2012-11-14sit: rename rtnl functions for consistencyNicolas Dichtel1-4/+4
2012-11-14sit/rtnl: add missing parameters on dumpNicolas Dichtel1-1/+8
2012-11-14sit: always notify change when params are updatedNicolas Dichtel1-17/+15
2012-11-14net: unify for_each_ip_tunnel_rcu()Amerigo Wang1-10/+3
2012-11-14net: convert __IPTUNNEL_XMIT() to an inline functionAmerigo Wang1-13/+1
2012-11-09sit: advertise tunnel param via rtnlNicolas Dichtel1-1/+56
2012-09-27xfrm: remove extranous rcu_read_lockstephen hemminger1-6/+0
2012-07-17net: Pass optional SKB and SK arguments to dst_ops->{update_pmtu,redirect}()David S. Miller1-1/+1
2012-07-12ipv6: Add redirect support to all protocol icmp error handlers.David S. Miller1-0/+8
2012-06-14ipv4: Handle PMTU in all ICMP error handlers.David S. Miller1-4/+11
2012-05-16net: ipv6: Standardize prefixes for message loggingJoe Perches1-2/+4
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-4/+2
2012-04-14tunnel: implement 64 bits statisticsstephen hemminger1-18/+34
2012-04-02net/ipv6/sit.c: Checkpatch cleanupEldad Zack1-3/+3
2012-01-26ipv6: sit: Convert to dst_neigh_lookup()David S. Miller1-5/+15
2012-01-12net: reintroduce missing rcu_assign_pointer() callsEric Dumazet1-5/+5
2011-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+6
2011-12-12ipip, sit: copy parms.name after register_netdeviceTed Feng1-1/+6
2011-12-05net: Rename dst_get_neighbour{, _raw} to dst_get_neighbour_noref{, _raw}.David Miller1-2/+2
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan1-2/+2
2011-11-08net: better pcpu data alignmentEric Dumazet1-1/+1
2011-08-20Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2011-08-16sit tunnels: propagate IPv6 transport class to IPv4 Type of ServiceLionel Elie Mamane1-0/+3
2011-08-02rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTERStephen Hemminger1-6/+6
2011-07-17net: Abstract dst->neighbour accesses behind helpers.David S. Miller1-2/+2