aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipmr.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-01ip_tunnel: use a separate struct to store tunnel params in the kernelAlexander Lobakin1-1/+1
2024-03-11ipmr: fix incorrect parameter validation in the ip_mroute_getsockopt() functionGavrilov Ilia1-1/+3
2024-02-26inet: allow ip_valid_fib_dump_req() to be called with RTNL or RCUEric Dumazet1-1/+3
2024-02-21ipmr: Simplify the allocation of slab cachesKunwu Chan1-4/+1
2024-01-26ipmr: fix kernel panic when forwarding mcast packetsNicolas Dichtel1-1/+1
2024-01-03fib: remove unnecessary input parameters in fib_default_rule_addZhengchao Shao1-1/+1
2023-12-15ipmr: support IP_PKTINFO on cache report IGMP msgLeone Fernando1-7/+6
2023-08-30net: ipv4, ipv6: fix IPSTATS_MIB_OUTOCTETS increment duplicatedHeng Guo1-1/+0
2023-06-15net: ioctl: Use kernel memory on protocol ioctl callbacksBreno Leitao1-24/+39
2022-12-25treewide: Convert del_timer*() to timer_shutdown*()Steven Rostedt (Google)1-1/+1
2022-11-16ipv4: tunnels: use DEV_STATS_INC()Eric Dumazet1-6/+6
2022-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-09-20ipmr: Always call ip{,6}_mr_forward() from RCU read-side critical sectionIdo Schimmel1-0/+2
2022-09-02bpf: net: Change do_ip_getsockopt() to take the sockptr_t argumentMartin KaFai Lau1-4/+5
2022-06-27ipmr: fix a lockdep splat in ipmr_rtm_dumplink()Eric Dumazet1-1/+1
2022-06-24ipmr: convert mrt_lock to a spinlockEric Dumazet1-10/+9
2022-06-24ipmr: convert /proc handlers to rcu_read_lock()Eric Dumazet1-4/+4
2022-06-24ipmr: adopt rcu_read_lock() in mr_dump()Eric Dumazet1-1/+1
2022-06-24ipmr: do not acquire mrt_lock in ipmr_get_route()Eric Dumazet1-2/+0
2022-06-24ipmr: do not acquire mrt_lock while calling ip_mr_forward()Eric Dumazet1-7/+2
2022-06-24ipmr: do not acquire mrt_lock before calling ipmr_cache_unresolved()Eric Dumazet1-17/+8
2022-06-24ipmr: do not acquire mrt_lock in ioctl(SIOCGETVIFCNT)Eric Dumazet1-20/+22
2022-06-24ipmr: do not acquire mrt_lock in __pim_rcv()Eric Dumazet1-5/+5
2022-06-24ipmr: ipmr_cache_report() changesEric Dumazet1-16/+29
2022-06-24ipmr: change igmpmsg_netlink_event() prototypeEric Dumazet1-2/+2
2022-06-24ipmr: add rcu protection over (struct vif_device)->devEric Dumazet1-27/+38
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-1/+1
2022-04-30ipv4: remove unnecessary type castingsYu Zhe1-1/+1
2022-02-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-02-08ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure pathEric Dumazet1-0/+2
2022-02-08ipmr: introduce ipmr_net_exit_batch()Eric Dumazet1-5/+15
2021-12-16fib: rules: remove duplicated nla policiesFlorian Westphal1-5/+0
2021-12-06ipmr, ip6mr: add net device refcount tracker to struct vif_deviceEric Dumazet1-1/+2
2021-07-07ipmr: Fix indentation issueRoy, UjjaL1-1/+1
2021-06-07ipv4: Fix spelling mistakesZheng Yongjun1-2/+2
2021-05-17net: Remove the member netns_okYejune Deng1-1/+0
2020-09-10ipmr: Use full VIF ID in netlink cache reportsPaul Davey1-1/+1
2020-09-10ipmr: Add high byte of VIF ID to igmpmsgPaul Davey1-2/+6
2020-09-10ipmr: Add route table ID to netlink cache reportsPaul Davey1-1/+3
2020-07-27ipmr: Copy option to correct variableIdo Schimmel1-1/+1
2020-07-24net/ipv4: switch ip_mroute_setsockopt to sockptr_tChristoph Hellwig1-7/+7
2020-07-13net: ipv4: kerneldoc fixesAndrew Lunn1-0/+3
2020-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-05-21net: don't return invalid table id error when we fall back to PF_UNSPECSabrina Dubroca1-1/+1
2020-05-19impr: use ->ndo_tunnel_ctl in ipmr_new_tunnelChristoph Hellwig1-11/+3
2020-05-19ipv4: consolidate the VIFF_TUNNEL handling in ipmr_new_tunnelChristoph Hellwig1-40/+13
2020-05-19ipv4: streamline ipmr_new_tunnelChristoph Hellwig1-37/+36
2020-05-14ipmr: Add lockdep expression to ipmr_for_each_table macroAmol Grover1-3/+4
2020-05-14ipmr: Fix RCU list debugging warningAmol Grover1-1/+2
2020-03-12inet: Use fallthrough;Joe Perches1-1/+1
2019-11-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+2
2019-11-16ipmr: Fix skb headroom in ipmr_get_route().Guillaume Nault1-1/+2
2019-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+2
2019-10-04net: fib_notifier: propagate extack down to the notifier block callbackJiri Pirko1-5/+8
2019-10-01netfilter: drop bridge nf reset from nf_resetFlorian Westphal1-2/+2
2019-09-07ipmr: remove hard code cache_resolve_queue_len limitHangbin Liu1-2/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-6/+1
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-6/+6
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-3/+3
2019-04-22net: Rename net/nexthop.h net/rtnh.hDavid Ahern1-1/+1
2019-04-07rhashtable: use bit_spin_locks to protect hash bucket.NeilBrown1-1/+0
2019-02-21ipmr: ip6mr: Create new sockopt to clear mfc cache or vifsCallum Sinclair1-27/+48
2019-02-06net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_IDFlorian Fainelli1-14/+5
2019-02-06net: Introduce ndo_get_port_parent_id()Florian Fainelli1-1/+7
2019-01-19net: ipv4: ipmr: perform strict checks also for doit handlersJakub Kicinski1-5/+56
2018-12-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+4
2018-12-17ipmr: Drop mfc_cache argument to ipmr_queue_xmitDavid Ahern1-5/+4
2018-12-10ipv4: Fix potential Spectre v1 vulnerabilityGustavo A. R. Silva1-0/+4
2018-12-06net: core: dev: Add extack argument to dev_open()Petr Machata1-2/+2
2018-12-04skbuff: Rename 'offload_mr_fwd_mark' to 'offload_l3_fwd_mark'Ido Schimmel1-1/+1
2018-10-24net: Don't return invalid table id error when dumping all familiesDavid Ahern1-0/+3
2018-10-16net: Enable kernel side filtering of route dumpsDavid Ahern1-1/+1
2018-10-16net: Plumb support for filtering ipv4 and ipv6 multicast route dumpsDavid Ahern1-3/+15
2018-10-16net: Add struct for fib dump filterDavid Ahern1-1/+5
2018-10-08rtnetlink: Update fib dumps for strict data checkingDavid Ahern1-0/+7
2018-10-08rtnetlink: Update ipmr_rtm_dumplink for strict data checkingDavid Ahern1-0/+32
2018-07-13net: ipmr: add support for passing full packet on wrong vifNikolay Aleksandrov1-5/+16
2018-06-22rhashtable: split rhashtable.hNeilBrown1-0/+1
2018-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+2
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-28/+4
2018-04-23net: fib_rules: add extack supportRoopa Prabhu1-1/+2
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-26ip6mr: Add refcounting to mfcYuval Mintz1-4/+4
2018-03-26ipmr: Make ipmr_dump() commonYuval Mintz1-51/+2
2018-03-26ipmr: Make MFC fib notifiers commonYuval Mintz1-22/+4
2018-03-26ipmr: Make vif fib notifiers commonYuval Mintz1-26/+5
2018-03-22net: Revert "ipv4: fix a deadlock in ip_ra_control"Kirill Tkhai1-2/+9
2018-03-01ipmr, ip6mr: Unite dumproute flowsYuval Mintz1-122/+39
2018-03-01ipmr, ip6mr: Unite vif seq functionsYuval Mintz1-44/+5
2018-03-01ipmr, ip6mr: Unite mfc seq logicYuval Mintz1-88/+5
2018-03-01ipmr, ip6mr: Unite logic for searching in MFC cacheYuval Mintz1-55/+16
2018-03-01ipmr, ip6mr: Make mfc_cache a common structureYuval Mintz1-108/+125
2018-03-01ipmr, ip6mr: Unite creation of new mr_tableYuval Mintz1-17/+10
2018-03-01mroute*: Make mr_table a common structYuval Mintz1-2/+0
2018-03-01ipmr,ipmr6: Define a uniform vif_deviceYuval Mintz1-17/+15
2018-02-26net: make kmem caches as __ro_after_initAlexey Dobriyan1-1/+2
2018-02-13net: Convert pernet_subsys, registered from inet_init()Kirill Tkhai1-0/+1
2018-01-30ipmr: Fix ptrdiff_t print formattingJames Hogan1-1/+1
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan1-2/+0
2017-11-21treewide: setup_timer() -> timer_setup()Kees Cook1-5/+4
2017-10-18ipv4: mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2017-10-03ipv4: ipmr: Don't forward packets already forwarded by hardwareYotam Gigi1-5/+32
2017-10-03ipv4: ipmr: Add the parent ID field to VIF structYotam Gigi1-0/+11
2017-10-01net: ipmr: make function ipmr_notifier_init staticColin Ian King1-1/+1
2017-09-27net: mroute: Check if rule is a default ruleYotam Gigi1-0/+12
2017-09-27net: ipmr: Add MFC offload indicationYotam Gigi1-0/+3
2017-09-27ipmr: Send FIB notifications on MFC and VIF entriesYotam Gigi1-0/+53
2017-09-27ipmr: Add FIB notification access functionsYotam Gigi1-2/+135
2017-09-27ipmr: Add reference count to MFC entriesYotam Gigi1-3/+5
2017-08-09rtnetlink: make rtnl_register accept a flags parameterFlorian Westphal1-4/+4
2017-07-12net: ipmr: ipmr_get_table() returns NULLDan Carpenter1-2/+2
2017-06-29net: ipmr: Add ipmr_rtm_getrouteDonald Sharp1-1/+62
2017-06-21ipmr: add netlink notifications on igmpmsg cache reportsJulien Gomes1-2/+67
2017-06-16networking: make skb_pull & friends return void pointersJohannes Berg1-2/+4
2017-06-16networking: make skb_put & friends return void pointersJohannes Berg1-1/+1
2017-06-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-18/+16
2017-06-11net: ipmr: Fix some mroute forwarding issues in vrf'sDonald Sharp1-17/+15
2017-06-08net: ipmr: add getlink supportNikolay Aleksandrov1-0/+126
2017-06-07net: Fix inconsistent teardown and release of private netdev state.David S. Miller1-1/+1
2017-05-16ipmr: vrf: Find VIFs using the actual deviceThomas Winter1-2/+16
2017-04-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+2
2017-04-17net: rtnetlink: plumb extended ack to doit functionDavid Ahern1-4/+6
2017-04-17ipv4: fix a deadlock in ip_ra_controlWANG Cong1-9/+2
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-1/+2
2017-03-28net: devinet: Refactor inet_netconf_notify_devconf to take eventDavid Ahern1-5/+7
2017-02-27lib/vsprintf.c: remove %Z supportAlexey Dobriyan1-1/+1
2017-01-12ipmr: improve hash scalabilityNikolay Aleksandrov1-115/+140
2017-01-08net: ipmr: Remove nowait arg to ipmr_get_routeDavid Ahern1-6/+1
2017-01-03ipmr, ip6mr: add RTNH_F_UNRESOLVED flag to unresolved cache entriesNikolay Aleksandrov1-1/+3
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-11-03ipv4: allow local fragmentation in ip_finish_output_gso()Lance Richardson1-1/+1
2016-11-01net: Enable support for VRF with ipv4 multicastDavid Ahern1-1/+12
2016-10-31net: pim: add all RFC7761 message typesNikolay Aleksandrov1-1/+1
2016-09-25ipmr, ip6mr: fix scheduling while atomic and a deadlock with ipmr_get_routeNikolay Aleksandrov1-1/+2
2016-09-21ipmr, ip6mr: return lastuse relative to nowNikolay Aleksandrov1-2/+5
2016-07-26net: ipmr/ip6mr: update lastuse on entry changeNikolay Aleksandrov1-1/+1
2016-07-19net/ipv4: Introduce IPSKB_FRAG_SEGS bit to inet_skb_parm.flagsShmulik Ladkani1-1/+1
2016-07-16net: ipmr/ip6mr: add support for keeping an entry ageNikolay Aleksandrov1-4/+9
2016-06-28ipmr/ip6mr: Initialize the last assert time of mfc entries.Tom Goff1-1/+3
2016-04-21ipmr: align RTA_MFC_STATS on 64-bitNicolas Dichtel1-2/+2
2015-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-15/+8
2015-11-30net: ipmr: add mfc newroute/delroute netlink supportNikolay Aleksandrov1-0/+129
2015-11-30net: ipmr: fix setsockopt error returnNikolay Aleksandrov1-3/+5
2015-11-30net: ipmr: move pimsm_enabled to pim.h and renameNikolay Aleksandrov1-8/+3
2015-11-30net: ipmr: move struct mr_table and VIF_EXISTS to mroute.hNikolay Aleksandrov1-18/+0
2015-11-30net: ipmr: remove unused MFC_NOTIFY flag and make the flags enumNikolay Aleksandrov1-2/+0
2015-11-24net: ipmr, ip6mr: fix vif/tunnel failure race conditionNikolay Aleksandrov1-8/+0
2015-11-23net: ipmr: factor out common vif init codeNikolay Aleksandrov1-21/+19
2015-11-23net: ipmr: rearrange and cleanup setsockoptNikolay Aleksandrov1-84/+107
2015-11-23net: ipmr: drop ip_mr_init() mrt_cachep null check as we'll panic if it failsNikolay Aleksandrov1-2/+0
2015-11-23net: ipmr: drop an instance of CONFIG_IP_MROUTE_MULTIPLE_TABLESNikolay Aleksandrov1-2/+2
2015-11-23net: ipmr: make ip_mroute_getsockopt more understandableNikolay Aleksandrov1-14/+14
2015-11-23net: ipmr: fix code and comment styleNikolay Aleksandrov1-105/+37
2015-11-23net: ipmr: remove some pimsm ifdefs and simplifyNikolay Aleksandrov1-96/+84
2015-11-23net: ipmr: always define mroute_reg_vif_numNikolay Aleksandrov1-8/+0
2015-11-23net: ipmr: move the tbl id check in ipmr_new_tableNikolay Aleksandrov1-11/+17
2015-11-22net: ipmr: fix static mfc/dev leaks on table destructionNikolay Aleksandrov1-7/+8
2015-11-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+3
2015-11-02ipmr: fix possible race resulting from improper usage of IP_INC_STATS_BH() in...Ani Sinha1-3/+3
2015-10-08net: Pass net into dst_output and remove dst_output_okfnEric W. Biederman1-1/+1
2015-09-17netfilter: Pass net into okfnEric W. Biederman1-2/+2
2015-09-17netfilter: Pass struct net into the netfilter hooksEric W. Biederman1-2/+2
2015-09-17ipv4: Only compute net once in ipmr_forward_finishEric W. Biederman1-2/+3
2015-09-17ipv4: Don't recompute net in ipmr_queue_xmitEric W. Biederman1-1/+1
2015-09-17net: Merge dst_output and dst_output_skEric W. Biederman1-1/+1
2015-09-09net: ipv6: use common fib_default_rule_prefPhil Sutter1-1/+0
2015-04-07netfilter: Pass socket pointer down through okfn().David Miller1-3/+4
2015-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+5
2015-04-03ipv4: coding style: comparison for inequality with NULLIan Morris1-1/+1
2015-04-03ipv4: coding style: comparison for equality with NULLIan Morris1-24/+24
2015-04-02net: move fib_rules_unregister() under rtnl lockWANG Cong1-1/+1
2015-04-02ipv4: take rtnl_lock and mark mrt table as freed on namespace cleanupWANG Cong1-0/+5
2015-04-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2015-04-02ipmr,ip6mr: implement ndo_get_iflinkNicolas Dichtel1-1/+6
2015-04-02dev: introduce dev_get_iflink()Nicolas Dichtel1-1/+1
2015-03-31netlink: implement nla_put_in_addr and nla_put_in6_addrJiri Benc1-2/+2
2015-03-29ipmr,ip6mr: call ip6mr_free_table() on failure pathWANG Cong1-1/+1
2015-03-25ipv4: hash net ptr into fragmentation bucket selectionHannes Frederic Sowa1-3/+4
2015-03-12net: Introduce possible_net_tEric W. Biederman1-3/+1
2015-01-18netlink: make nlmsg_end() and genlmsg_end() voidJohannes Berg1-1/+2
2014-07-15net: set name_assign_type in alloc_netdev()Tom Gundersen1-1/+1
2014-06-02inetpeer: get rid of ip_id_countEric Dumazet1-1/+1
2014-05-30ipmr: Replace comma with semicolonHimangi Saraogi1-1/+1
2014-04-16ipv4, fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iifCong Wang1-1/+1
2014-03-20ipmr: fix mfc notification flagsNicolas Dichtel1-5/+8
2014-01-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+5
2014-01-14net: avoid reference counter overflows on fib_rules in multicast forwardingHannes Frederic Sowa1-2/+5
2013-12-09neigh: restore old behaviour of default parms valuesJiri Pirko1-0/+2
2013-09-19ip: generate unique IP identificator if local fragmentation is allowedAnsis Atteka1-1/+1
2013-09-04tunnels: harmonize cleanup done on skb on rx pathNicolas Dichtel1-2/+1
2013-07-23ipmr: change the prototype of ip_mr_forward().Rami Rosen1-8/+7
2013-06-10net: remove last caller of skb_tail_offset() and itselfCong Wang1-7/+1
2013-05-28net, ipv4, ipv6: Correct assignment of skb->network_header to skb->tailSimon Horman1-1/+7
2013-05-28net: pass info struct via netdevice notifierJiri Pirko1-1/+1
2013-03-28net-next: replace obsolete NLMSG_* with type safe nlmsg_*Hong zhi guo1-5/+5
2013-03-26GRE: Refactor GRE tunneling code.Pravin B Shelar1-1/+1
2013-02-18net: proc: change proc_net_remove to remove_proc_entryGao feng1-3/+3
2013-02-18net: proc: change proc_net_fops_create to proc_createGao feng1-2/+2
2013-01-22ipmr: fix sparse warning when testing origin or groupNicolas Dichtel1-11/+12