aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vrf.c
AgeCommit message (Expand)AuthorFilesLines
2025-08-26ipv4: Convert ->flowi4_tos to dscp_t.Guillaume Nault1-2/+2
2025-07-26vrf: Drop existing dst reference in vrf_ip6_input_dstStanislav Fomichev1-0/+2
2025-04-28net: sched: generalize check for no-queue qdisc on TX queueJesper Dangaard Brouer1-3/+1
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-21rtnetlink: Pack newlink() params into structXiao Liang1-2/+3
2025-02-10net: fib_rules: Factorise fib_newrule() and fib_delrule().Kuniyuki Iwashima1-4/+2
2024-12-06vrf: Make pcpu_dstats update functions available to other modules.Guillaume Nault1-35/+14
2024-11-03vrf: Prepare vrf_process_v4_outbound() to future .flowi4_tos conversion.Guillaume Nault1-1/+1
2024-10-02vrf: revert "vrf: Remove unnecessary RCU-bh critical section"Willem de Bruijn1-0/+2
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-31vrf: Unmask upper DSCP bits in vrf_process_v4_outbound()Ido Schimmel1-1/+2
2024-07-24sysctl: treewide: constify the ctl_table argument of proc_handlersJoel Granados1-1/+1
2024-06-11net: vrf: move to generic dstat helpersJeremy Kerr1-28/+0
2024-06-11net: core,vrf: Change pcpu_dstat fields to u64_stats_tJeremy Kerr1-16/+22
2024-04-30inet: introduce dst_rtable() helperEric Dumazet1-1/+1
2024-04-29ipv6: introduce dst_rt6_info() helperEric Dumazet1-1/+1
2024-04-22sysctl: treewide: constify ctl_table_header::ctl_table_argThomas Weißschuh1-1/+1
2023-11-20net: Move {l,t,d}stats allocation to core and convert veth & vrfDaniel Borkmann1-11/+3
2023-11-20net, vrf: Move dstats structure to coreDaniel Borkmann1-17/+7
2023-10-11vrf: Remove the now superfluous sentinel element from ctl_table arrayJoel Granados1-1/+0
2023-08-29Merge tag 'sysctl-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+2
2023-08-22vrf: Remove unnecessary RCU-bh critical sectionIdo Schimmel1-2/+0
2023-08-15vrf: Update to register_net_sysctl_szJoel Granados1-1/+2
2023-07-18vrf: Fix lockdep splat in output pathIdo Schimmel1-6/+6
2022-12-21net: vrf: determine the dst using the original ifindex for multicastAntoine Tenart1-3/+3
2022-10-28net: Remove the obsolte u64_stats_fetch_*_irq() users (drivers).Thomas Gleixner1-2/+2
2022-08-31net: move from strlcpy with unused retval to strscpyWolfram Sang1-2/+2
2022-06-10xfrm: no need to set DST_NOPOLICY in IPv4Eyal Birger1-1/+1
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-4/+4
2022-04-01vrf: fix packet sniffing for traffic originating from ip tunnelsEyal Birger1-4/+11
2022-03-15net: Add l3mdev index to flow struct and avoid oif reset for port devicesDavid Ahern1-4/+3
2022-02-14net: dev: Makes sure netif_rx() can be invoked in any context.Sebastian Andrzej Siewior1-1/+1
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-12-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+4
2021-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nfJakub Kicinski1-4/+4
2021-12-08vrf: don't run conntrack on vrf with !dflt qdiscNicolas Dichtel1-4/+4
2021-12-07vrf: use dev_replace_track() for better trackingEric Dumazet1-4/+4
2021-12-01vrf: Reset IPCB/IP6CB when processing outbound pkts in vrf dev xmitStephen Suryaputra1-0/+2
2021-10-26vrf: run conntrack only in context of lower/physdev for locally generated pac...Florian Westphal1-4/+24
2021-10-20vrf: Revert "Reset skb conntrack connection..."Eugene Crosser1-4/+0
2021-08-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+4
2021-08-16vrf: Reset skb conntrack connection on VRF rcvLahav Schlesinger1-0/+4
2021-08-06vrf: fix NULL dereference in vrf_finish_output()Dan Carpenter1-1/+1
2021-08-03vrf: use skb_expand_head in vrf_finish_outputVasily Averin1-14/+7
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+7
2021-06-21vrf: do not push non-ND strict packets with a source LLA through packet taps ...Antoine Tenart1-7/+7
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+2
2021-06-08vrf: fix maximum MTUNicolas Dichtel1-4/+2
2021-06-01vrf: Fix a typoZheng Yongjun1-1/+1
2021-04-14vrf: fix a comment about loopback deviceNicolas Dichtel1-6/+4
2020-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+8
2020-12-09vrf: handle CONFIG_IPV6 not set for vrf_add_mac_header_if_unset()Andrea Mayer1-55/+55
2020-12-05vrf: packets with lladdr src needs dst at input with orig_iif when needs strictStephen Suryaputra1-2/+8
2020-12-04vrf: add mac header for tunneled packets when sniffer is attachedAndrea Mayer1-6/+72
2020-11-23net: don't include ethtool.h from netdevice.hJakub Kicinski1-0/+1
2020-11-12vrf: Fix fast path output packet handling with async Netfilter rulesMartin Willi1-23/+69
2020-07-23vrf: Handle CONFIG_SYSCTL not setDavid Ahern1-61/+77
2020-06-20vrf: add l3mdev registration for table to VRF device lookupAndrea Mayer1-4/+55
2020-06-20vrf: add sysctl parameter for strict modeAndrea Mayer1-0/+118
2020-06-20vrf: track associations between VRF devices and tablesAndrea Mayer1-5/+268
2020-05-04net: partially revert dynamic lockdep key changesCong Wang1-0/+1
2020-04-22vrf: Fix IPv6 with qdisc and xfrmDavid Ahern1-2/+2
2020-04-22vrf: Check skb for XFRM_TRANSFORMED flagDavid Ahern1-2/+4
2020-03-23Remove DST_HOSTDavid Laight1-2/+2
2019-10-24net: core: add generic lockdep keysTaehee Yoo1-1/+0
2019-10-01netfilter: drop bridge nf reset from nf_resetFlorian Westphal1-4/+4
2019-09-27vrf: Do not attempt to create IPv6 mcast rule if IPv6 is disabledDavid Ahern1-1/+2
2019-07-21vrf: make sure skb->data contains ip header to make routingPeter Kosyh1-23/+35
2019-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-06-26ipv6: constify rt6_nexthop()Nicolas Dichtel1-1/+1
2019-06-23ipv6: convert major tx path to use RT6_LOOKUP_F_DST_NOREFWei Wang1-2/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2019-04-24net: vrf: Fix operation not supported when set vrf macMiaohe Lin1-0/+2
2019-04-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+6
2019-04-08ipv4: Add helpers for neigh lookup for nexthopDavid Ahern1-6/+4
2019-04-08neighbor: Add skip_cache argument to neigh_outputDavid Ahern1-2/+2
2019-04-07net: vrf: Fix ping failed when vrf mtu is set to 0Miaohe Lin1-2/+6
2019-03-27vrf: prevent adding upper devicesSabrina Dubroca1-0/+1
2019-02-21net: vrf: remove MTU limits for vrf deviceHangbin Liu1-0/+3
2018-12-06net: core: dev: Add extack argument to dev_change_flags()Petr Machata1-2/+2
2018-12-06net: vrf: cycle_netdev(): Add an extack argumentPetr Machata1-3/+4
2018-11-07vrf: mark skb for multicast or link-local as enslaved to VRFMike Manning1-10/+9
2018-10-02ipv6: add vrf table handling code for ipv6 mcastPatrick Ruddy1-0/+11
2018-05-28vrf: add CRC32c offload to device featuresDavide Caratti1-1/+1
2018-04-17vrf: Move fib6_table into net_vrfDavid Ahern1-19/+6
2018-04-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+3
2018-03-30vrf: Fix use after free and double free in vrf_finish_outputDavid Ahern1-2/+3
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-04net/ipv6: Pass skb to route lookupDavid Ahern1-3/+4
2018-02-27net: Convert simple pernet_operationsKirill Tkhai1-0/+1
2018-02-23net: fib_rules: Add new attribute to set protocolDonald Sharp1-1/+4
2018-02-21net: Allow a rule to track originating protocolDonald Sharp1-0/+1
2018-02-15net/ipv4: Remove fib table id from rtableDavid Ahern1-1/+0
2018-01-25net: vrf: Add support for sends to local broadcast addressDavid Ahern1-2/+3
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-11-02net: vrf: correct FRA_L3MDEV encode typeJeff Barnhill1-1/+1
2017-10-04net: vrf: Add extack messages for enslave errorsDavid Ahern1-2/+11
2017-10-04net: Add extack to upper device linkingDavid Ahern1-3/+4
2017-10-04net: Add extack to ndo_add_slaveDavid Ahern1-1/+2
2017-09-21net: vrf: remove skb_dst_force() after skb_dst_set()Eric Dumazet1-1/+0
2017-09-15net: vrf: avoid gcc-4.6 warningArnd Bergmann1-3/+3
2017-08-13net: vrf: Drop local rtable and rt6_infoDavid Ahern1-114/+8
2017-08-07net: vrf: Add extack messages for newlink failuresDavid Ahern1-4/+13
2017-07-06vrf: fix bug_on triggered by rx when destroying a vrfNikolay Aleksandrov1-5/+6
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.newlinkMatthias Schiffer1-1/+2
2017-06-17net: remove DST_NOCACHE flagWei Wang1-1/+1
2017-06-17ipv6: take dst->__refcnt for insertion into fib6 treeWei Wang1-4/+0
2017-06-16networking: make skb_push & __skb_push return void pointersJohannes Berg1-1/+1
2017-06-08net: vrf: Make add_fib_rules per network namespace flagDavid Ahern1-4/+32
2017-06-07net: Fix inconsistent teardown and release of private netdev state.David S. Miller1-1/+1
2017-05-11driver: vrf: Fix one possible use-after-free issueGao Feng1-1/+2
2017-04-27net: vrf: Do not allow looback to be moved to a VRFDavid Ahern1-0/+6
2017-04-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-04-17net: rtnetlink: plumb extended ack to doit functionDavid Ahern1-2/+2
2017-04-17net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev ruleDavid Ahern1-1/+1
2017-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2017-03-22net: vrf: performance improvements for IPv6David Ahern1-10/+56
2017-03-22net: vrf: performance improvements for IPv4David Ahern1-10/+96
2017-03-21net: vrf: Reset rt6i_idev in local dst after putDavid Ahern1-1/+3
2017-03-16net: vrf: Set slave's private flag before linkingIdo Schimmel1-2/+6
2017-03-08vrf: Fix use-after-free in vrf_xmitDavid Ahern1-1/+2
2017-02-11net: rename dst_neigh_output back to neigh_outputJulian Anastasov1-2/+2
2017-02-07net: add dst_pending_confirm flag to skbuffJulian Anastasov1-1/+4
2017-01-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+4
2017-01-11net: vrf: do not allow table id 0David Ahern1-0/+2
2017-01-11net: ipv4: Fix multipath selection with vrfDavid Ahern1-0/+2
2017-01-08net: make ndo_get_stats64 a void functionstephen hemminger1-3/+2
2017-01-03net: vrf: Add missing Rx countersDavid Ahern1-0/+3
2016-12-17net: vrf: Drop conntrack data after pass through VRF device on TxDavid Ahern1-0/+4
2016-12-17net: vrf: Fix NAT within a VRFDavid Ahern1-2/+0
2016-11-01net: Enable support for VRF with ipv4 multicastDavid Ahern1-5/+18
2016-10-17net: Require exact match for TCP socket lookups if dif is l3mdevDavid Ahern1-0/+2
2016-09-17net: vrf: Remove RT_FL_TOSDavid Ahern1-3/+0
2016-09-10net: flow: Remove FLOWI_FLAG_L3MDEV_SRC flagDavid Ahern1-3/+2
2016-09-10net: l3mdev: remove get_rtable methodDavid Ahern1-21/+0
2016-09-10net: ipv6: Remove l3mdev_get_saddr6David Ahern1-41/+0
2016-09-10net: ipv4: Remove l3mdev_get_saddrDavid Ahern1-38/+0
2016-09-10net: vrf: Flip IPv6 output path from FIB lookup hook to out hookDavid Ahern1-42/+82
2016-09-10net: vrf: Flip IPv4 output path from FIB lookup hook to out hookDavid Ahern1-1/+63
2016-07-05net: vrf: Add support for PREROUTING rules on vrf deviceDavid Ahern1-0/+21
2016-06-17net: vrf: Implement get_saddr for IPv6David Ahern1-0/+41
2016-06-15net: vrf: Switch dst dev to loopback on device deleteDavid Ahern1-13/+42
2016-06-15net: vrf: Update flags and features settingsDavid Ahern1-0/+14
2016-06-15net: vrf: Handle ipv6 multicast and link-local addressesDavid Ahern1-5/+93
2016-06-15net: l3mdev: Remove const from flowi6 arg to get_rt6_dstDavid Ahern1-1/+1
2016-06-09net: vrf: Fix crash when IPv6 is disabled at boot timeDavid Ahern1-0/+7
2016-06-09net: vrf: call netdev_lockdep_set_classes()Eric Dumazet1-1/+1
2016-06-08net: vrf: Add l3mdev rules on first device createDavid Ahern1-1/+105
2016-06-08net: vrf: ipv6 support for local traffic to local addressesDavid Ahern1-4/+85
2016-06-08net: vrf: ipv4 support for local traffic to local addressesDavid Ahern1-2/+98
2016-06-08net: vrf: Minor refactoring for local address patchesDavid Ahern1-27/+18
2016-06-06net: Revert vrf-local changes.David S. Miller1-201/+33
2016-06-06net: vrf: ipv6 support for local traffic to local addressesDavid Ahern1-4/+85
2016-06-06net: vrf: ipv4 support for local traffic to local addressesDavid Ahern1-2/+98
2016-06-06net: vrf: Minor refactoring for local address patchesDavid Ahern1-27/+18
2016-06-02net: vrf: set operstate and mtu at link createDavid Ahern1-0/+6
2016-05-16net: vrf: protect changes to private data with rcuDavid Ahern1-23/+47
2016-05-11net: l3mdev: Add hook in ip and ipv6David Ahern1-98/+91
2016-05-09net: l3mdev: Allow send on enslaved interfaceDavid Ahern1-0/+2
2016-05-06net: vrf: Create FIB tables on link createDavid Ahern1-2/+11
2016-04-11net: vrf: Fix dst reference countingDavid Ahern1-161/+16
2016-03-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+8
2016-02-25net: vrf: Remove direct access to skb->dataDavid Ahern1-5/+8
2016-02-11vrf: duplicate include of rtnetlink.hstephen hemminger1-1/+0
2016-02-07net: Add support for fill_slave_info to VRF deviceDavid Ahern1-0/+21
2016-01-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+7
2016-01-04net: Propagate lookup failure in l3mdev_get_saddr to callerDavid Ahern1-3/+7
2015-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-10/+1
2015-12-03net: add possibility to pass information about upper device via notifierJiri Pirko1-1/+1
2015-12-03net: propagate upper priv via netdev_master_upper_dev_linkJiri Pirko1-1/+1
2015-11-24vrf: remove slave queue and private slave structNikolay Aleksandrov1-63/+5
2015-11-23vrf: fix double free and memory corruption on register_netdevice failureNikolay Aleksandrov1-10/+1
2015-10-13net: Add IPv6 support to VRF deviceDavid Ahern1-1/+272
2015-10-08dst: Pass net into dst->outputEric W. Biederman1-2/+1
2015-10-08ipv4, ipv6: Pass net into ip_local_out and ip6_local_outEric W. Biederman1-2/+2
2015-10-08ipv4, ipv6: Pass net into __ip_local_out and __ip6_local_outEric W. Biederman1-1/+1
2015-10-08ipv4: Merge ip_local_out and ip_local_out_skEric W. Biederman1-2/+2
2015-10-08dst: Pass a sk into .local_outEric W. Biederman1-2/+2
2015-10-07net: Add source address lookup op for VRFDavid Ahern1-0/+35
2015-10-07net: Add netif_is_l3_slaveDavid Ahern1-6/+4
2015-10-07net: Rename FLOWI_FLAG_VRFSRC to FLOWI_FLAG_L3MDEV_SRCDavid Ahern1-2/+2
2015-10-05vrf: fix a kernel warningWANG Cong1-1/+1
2015-09-29net: Remove vrf header fileDavid Ahern1-1/+15
2015-09-29net: Remove the now unused vrf_ptrDavid Ahern1-30/+2
2015-09-29net: Add support for l3mdev ops to VRF driverDavid Ahern1-0/+29
2015-09-29net: Rename IFF_VRF_MASTER to IFF_L3MDEV_MASTERDavid Ahern1-3/+3
2015-09-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2015-09-17netfilter: Pass net into okfnEric W. Biederman1-1/+1
2015-09-17netfilter: Pass struct net into the netfilter hooksEric W. Biederman1-3/+4
2015-09-17net: Fix vti use case with oif in dst lookupsDavid Ahern1-1/+2
2015-09-15net: Add FIB table id to rtableDavid Ahern1-0/+2
2015-08-28net: Add ethernet header for pass through VRF deviceDavid Ahern1-3/+45
2015-08-20route: move lwtunnel state to dst_entryJiri Benc1-1/+0
2015-08-20vrf: ndo_add|del_slave drop unnecessary checksNikolay Aleksandrov1-5/+1
2015-08-20vrf: move vrf_insert_slave so we can drop a goto labelNikolay Aleksandrov1-6/+2
2015-08-20vrf: remove unnecessary duplicate checkNikolay Aleksandrov1-8/+0