aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/datapath.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-01genetlink: remove linux/genetlink.hJakub Kicinski1-1/+0
2023-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+4
2023-08-15net: openvswitch: reject negative ifindexJakub Kicinski1-4/+4
2023-08-15genetlink: remove userhdr from struct genl_infoJakub Kicinski1-13/+16
2023-08-14net: openvswitch: add last-action drop reasonAdrian Moreno1-0/+16
2023-06-10net: move gso declarations and functions to their own filesEric Dumazet1-0/+1
2023-06-07net: openvswitch: fix upcall counter access before allocationEelco Chaudron1-19/+0
2023-02-02net: openvswitch: fix flow memory leak in ovs_flow_cmd_newFedor Pchelkin1-6/+6
2022-12-21net: openvswitch: release vport resources on failureAaron Conole1-2/+6
2022-12-16openvswitch: Fix flow lookup to use unmasked keyEelco Chaudron1-9/+16
2022-12-09net: openvswitch: Add support to count upcall packetswangchuanlei1-0/+41
2022-11-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-10-28net: openvswitch: add missing .resv_start_opJakub Kicinski1-0/+1
2022-10-28net: Remove the obsolte u64_stats_fetch_*_irq() users (net).Thomas Gleixner1-2/+2
2022-10-27openvswitch: switch from WARN to pr_warnAaron Conole1-1/+2
2022-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2022-08-29genetlink: start to validate reserved header bytesJakub Kicinski1-0/+3
2022-08-26openvswitch: add OVS_DP_ATTR_PER_CPU_PIDS to get requestsAndrey Zhadchenko1-1/+9
2022-08-26openvswitch: allow specifying ifindex of new interfacesAndrey Zhadchenko1-2/+9
2022-08-26openvswitch: fix memory leak at failed datapath creationAndrey Zhadchenko1-1/+3
2022-08-22openvswitch: Fix overreporting of drops in dropwatchMike Pattrick1-2/+3
2022-08-22openvswitch: Fix double reporting of drops in dropwatchMike Pattrick1-3/+10
2022-02-05net/sched: Enable tc skb ext allocation on chain miss only when neededPaul Blakey1-7/+11
2021-07-27openvswitch: fix sparse warning incorrect typeMark Gray1-1/+1
2021-07-27openvswitch: fix alignment issuesMark Gray1-6/+10
2021-07-16openvswitch: Introduce per-cpu upcall dispatchMark Gray1-2/+70
2021-06-22openvswitch: add trace pointsAaron Conole1-0/+4
2020-11-03net: openvswitch: silence suspicious RCU usage warningEelco Chaudron1-7/+7
2020-10-02genetlink: move to smaller ops wherever possibleJakub Kicinski1-12/+12
2020-09-01net: openvswitch: fixes crash if nf_conncount_init() failsEelco Chaudron1-1/+7
2020-09-01net: openvswitch: improve the coding styleTonghao Zhang1-16/+22
2020-08-13net: openvswitch: introduce common code for flushing flowsTonghao Zhang1-1/+9
2020-08-03net: openvswitch: make masks cache size configurableEelco Chaudron1-0/+17
2020-08-03net: openvswitch: add masks cache hit counterEelco Chaudron1-1/+4
2020-07-24net: openvswitch: fixes potential deadlock in dp cleanup codeEelco Chaudron1-11/+12
2020-07-17net: openvswitch: reorder masks array based on usageEelco Chaudron1-0/+22
2020-04-20net: openvswitch: ovs_ct_exit to be done under ovs_lockTonghao Zhang1-1/+3
2020-03-29net: Fix typo of SKB_SGO_CB_OFFSETCambda Zhu1-1/+1
2020-03-03openvswitch: add missing attribute validation for hashJakub Kicinski1-0/+1
2020-02-18datapath.c: Use built-in RCU list checkingMadhuparna Bhowmik1-3/+6
2020-01-14net: openvswitch: use skb_list_walk_safe helper for gso segmentsJason A. Donenfeld1-7/+4
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya1-1/+1
2019-12-01openvswitch: remove another BUG_ON()Paolo Abeni1-1/+5
2019-12-01openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info()Paolo Abeni1-1/+4
2019-11-26openvswitch: fix flow command message sizePaolo Abeni1-1/+5
2019-11-15net: openvswitch: don't call pad_packet if not necessaryTonghao Zhang1-14/+8
2019-11-14net: openvswitch: add hash info to upcallTonghao Zhang1-1/+25
2019-11-03net: openvswitch: simplify the ovs_dp_cmd_newTonghao Zhang1-22/+38
2019-11-03net: openvswitch: don't unlock mutex when changing the user_features failsTonghao Zhang1-1/+1
2019-11-03net: openvswitch: add flow-mask cache for performanceTonghao Zhang1-1/+2
2019-10-25netns: fix GFP flags in rtnl_net_notifyid()Guillaume Nault1-9/+11
2019-09-26openvswitch: change type of UPCALL_PID attribute to NLA_UNSPECLi RongQing1-1/+1
2019-09-06net: openvswitch: Set OvS recirc_id from tc chain indexPaul Blakey1-5/+33
2019-08-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-7/+8
2019-08-06openvswitch: Print error when ovs_execute_actions() failsYifeng Sun1-2/+5
2019-07-24ovs: datapath: hide clang frame-overflow warningsArnd Bergmann1-7/+8
2019-07-12net: openvswitch: do not update max_headroom if new headroom is equal to old ...Taehee Yoo1-11/+28
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-14/+1
2019-06-05net: openvswitch: drop unneeded likely() call around IS_ERR()Enrico Weigelt1-1/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 269Thomas Gleixner1-14/+1
2019-05-04net: openvswitch: return an error instead of doing BUG_ON()Eelco Chaudron1-2/+5
2019-04-27genetlink: optionally validate strictly/dumpsJohannes Berg1-0/+13
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-2/+2
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-3/+4
2019-03-22genetlink: make policy common to familyJohannes Berg1-13/+4
2019-03-16net: openvswitch: fix missing checks for nla_nest_startKangjie Lu1-0/+8
2019-03-16net: openvswitch: fix a NULL pointer dereferenceKangjie Lu1-0/+4
2018-09-29openvswitch: Use correct reply values in datapath and vport opsYifeng Sun1-10/+10
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-2/+3
2018-05-25openvswitch: Support conntrack zone limitYi-Hung Wei1-2/+5
2018-03-29ovs: Remove rtnl_lock() from ovs_exit_net()Kirill Tkhai1-2/+0
2018-03-29net: Introduce net_rwsem to protect net_namespace_listKirill Tkhai1-0/+2
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-17net: Convert ovs_net_opsKirill Tkhai1-0/+1
2017-11-27net: openvswitch: datapath: fix data type in queue_gso_packetsGustavo A. R. Silva1-1/+1
2017-11-24net: accept UFO datagrams from tuntap and packetWillem de Bruijn1-0/+14
2017-11-13openvswitch: Add meter infrastructureAndy Zhou1-2/+12
2017-11-13openvswitch: export get_dp() API.Andy Zhou1-29/+0
2017-11-05openvswitch: reliable interface indentification in port dumpsJiri Benc1-13/+34
2017-09-12openvswitch: Fix an error handling path in 'ovs_nla_init_match_and_action()'Christophe JAILLET1-1/+2
2017-08-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+4
2017-08-16openvswitch: fix skb_panic due to the incorrect actions attrlenLiping Zhang1-3/+4
2017-07-17net: Remove all references to SKB_GSO_UDP.David S. Miller1-14/+0
2017-07-01datapath: Avoid using stack larger than 1024.Tonghao Zhang1-23/+58
2017-06-16networking: convert many more places to skb_put_zero()Johannes Berg1-1/+1
2017-05-19openvswitch: more accurate checksumming in queue_userspace_packet()Davide Caratti1-1/+1
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-1/+1
2016-12-27openvswitch: upcall: Fix vlan handling.pravin shelar1-1/+0
2016-11-18netns: make struct pernet_operations::id unsigned intAlexey Dobriyan1-1/+1
2016-11-13openvswitch: add processing of L3 packetsJiri Benc1-12/+1
2016-10-27genetlink: mark families as __ro_after_initJohannes Berg1-5/+5
2016-10-27genetlink: statically initialize familiesJohannes Berg1-0/+4
2016-10-27genetlink: no longer support using static family IDsJohannes Berg1-4/+0
2016-10-19openvswitch: remove unnecessary EXPORT_SYMBOLsJiri Benc1-2/+0
2016-09-20openvswitch: avoid resetting flow key while installing new flow.pravin shelar1-4/+4
2016-09-20openvswitch: Fix Frame-size larger than 1024 bytes warning.pravin shelar1-6/+9
2016-09-10openvswitch: use alias for genetlink family namesThadeu Lima de Souza Cascardo1-0/+4
2016-06-22openvswitch: Add packet len info to upcall.William Tu1-1/+12
2016-06-10openvswitch: Add packet truncation support.William Tu1-12/+17
2016-04-26ovs: align nlattr properly when neededNicolas Dichtel1-12/+15
2016-04-25ovs: use nla_put_u64_64bit()Nicolas Dichtel1-1/+2
2016-03-13ovs: allow nl 'flow set' to use ufid without flow keySamuel Gauthier1-11/+17
2016-03-01ovs: propagate per dp max headroom to all vportsPaolo Abeni1-0/+40
2016-02-18Revert "genl: Add genlmsg_new_unicast() for unicast message allocation"Florian Westphal1-5/+5
2016-02-18openvswitch: Revert: "Enable memory mapped Netlink i/o"Florian Westphal1-7/+3
2016-02-11openvswitch: allow management from inside user namespacesTycho Andersen1-10/+10
2016-01-15net: preserve IP control block during GSO segmentationKonstantin Khlebnikov1-4/+1
2015-11-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2015-10-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+2
2015-10-22openvswitch: Fix egress tunnel info.Pravin B Shelar1-3/+2
2015-09-29net: Drop unlikely before IS_ERR(_OR_NULL)Viresh Kumar1-1/+1
2015-09-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2015-09-24genetlink: simplify genl_notifyJiri Benc1-2/+1
2015-09-22openvswitch: Zero flows on allocation.Jesse Gross1-2/+2
2015-08-31ip-tunnel: Use API to access tunnel metadata options.Pravin B Shelar1-1/+2
2015-08-29openvswitch: Remove egress_tun_info.Pravin B Shelar1-1/+0
2015-08-27openvswitch: Allow matching on conntrack labelJoe Stringer1-7/+11
2015-08-27openvswitch: Add conntrack actionJoe Stringer1-16/+50
2015-08-27openvswitch: Serialize acts with original netlink lenJoe Stringer1-1/+1
2015-07-21openvswitch: Abstract vport name through ovs_vport_name()Thomas Graf1-2/+2
2015-07-21openvswitch: Move dev pointer into vport itselfThomas Graf1-5/+2
2015-07-21openvswitch: Make tunnel set action attach a metadata dstThomas Graf1-4/+4
2015-06-01openvswitch: include datapath actions with sampled-packet upcall to userspaceNeil McKee1-2/+16
2015-05-05openvswitch: Use eth_proto_is_802_3Alexander Duyck1-1/+1
2015-03-12net: Kill hold_net release_netEric W. Biederman1-3/+1
2015-02-20openvswitch: Fix net exit.Pravin B Shelar1-2/+43
2015-01-26openvswitch: Add support for unique flow IDs.Joe Stringer1-50/+157
2015-01-26openvswitch: Refactor ovs_nla_fill_match().Joe Stringer1-35/+6
2015-01-18netlink: make nlmsg_end() and genlmsg_end() voidJohannes Berg1-3/+6
2015-01-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2015-01-14openvswitch: packet messages need their own probe attribtueThomas Graf1-1/+2
2015-01-13net: rename vlan_tx_* helpers since "tx" is misleading thereJiri Pirko1-1/+1
2014-12-27genetlink: pass only network namespace to genl_has_listeners()Johannes Berg1-2/+1
2014-11-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+7
2014-11-21vlan: introduce *vlan_hwaccel_push_inside helpersJiri Pirko1-3/+1
2014-11-21vlan: rename __vlan_put_tag to vlan_insert_tag_set_protoJiri Pirko1-1/+2
2014-11-14openvswitch: Convert dp rcu read operation to locked operationsPravin B Shelar1-7/+7
2014-11-09openvswitch: Add support for OVS_FLOW_ATTR_PROBE.Jarno Rajahalme1-18/+31
2014-11-09openvswitch: Constify various function argumentsThomas Graf1-5/+5
2014-11-09openvswitch: Remove redundant key ref from upcall_info.Pravin B Shelar1-19/+26
2014-11-09openvswitch: Extend packet attribute for egress tunnel infoWenyu Zhang1-4/+17
2014-11-09openvswitch: Export symbols as GPL symbols.Pravin B Shelar1-2/+2
2014-11-05openvswitch: Refactor action alloc and copy api.Pravin B Shelar1-21/+4
2014-11-05openvswitch: Move key_attr_size() to flow_netlink.h.Joe Stringer1-28/+3
2014-11-05openvswitch: Remove flow member from struct ovs_skb_cbLorand Jakab1-5/+7
2014-11-05openvswitch: Refactor get_dp() function into multiple access APIs.Andy Zhou1-10/+21
2014-11-05openvswitch: Refactor ovs_flow_cmd_fill_info().Joe Stringer1-27/+66
2014-11-05openvswitch: Additional logging for -EINVAL on flow setups.Jesse Gross1-3/+9
2014-11-05openvswitch: Move table destroy to dp-rcu callback.Pravin B Shelar1-3/+2
2014-11-05openvswitch: Add basic MPLS support to kernelSimon Horman1-3/+3
2014-10-28openvswitch: Export lockdep_ovsl_is_held to modules.David S. Miller1-0/+1
2014-10-28ovs: Turn vports with dependencies into separate modulesThomas Graf1-2/+14
2014-10-20net: make skb_gso_segment error handling more robustFlorian Westphal1-0/+2
2014-10-06openvswitch: Add support for Geneve tunneling.Jesse Gross1-1/+4
2014-10-06openvswitch: Factor out allocation and verification of actions.Jesse Gross1-11/+27
2014-10-06openvswitch: Add support for matching on OAM packets.Jesse Gross1-0/+1
2014-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+5
2014-09-19openvswitch: restore OVS_FLOW_CMD_NEW notificationsSamuel Gauthier1-4/+5
2014-09-15openvswitch: Add recirc and hash action.Andy Zhou1-2/+9
2014-09-15openvswitch: Use tun_key only for egress tunnel path.Pravin B Shelar1-14/+6
2014-09-15openvswitch: refactor ovs flow extract API.Pravin B Shelar1-6/+15
2014-09-15openvswitch: Remove pkt_key from OVS_CBPravin B Shelar1-4/+2
2014-09-03openvswitch: distinguish between the dropped and consumed skbLi RongQing1-2/+5
2014-09-02openvswitch: fix a memory leakLi RongQing1-1/+3
2014-08-07openvswitch: fix duplicate #include headersJean Sacren1-2/+0
2014-07-29openvswitch: Use IS_ERR_OR_NULLHimangi Saraogi1-1/+1
2014-07-24openvswitch: Avoid memory corruption in queue_userspace_packet()Andy Zhou1-1/+2
2014-07-24openvswitch: Allow each vport to have an array of 'port_id's.Alex Wang1-7/+16
2014-07-16openvswitch: make generic netlink group conststephen hemminger1-9/+9
2014-07-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-14/+13
2014-07-01openvswitch: introduce rtnl ops stubJiri Pirko1-1/+8
2014-06-30openvswitch: Use exact lookup for flow_get and flow_del.Alex Wang1-12/+11
2014-06-29openvswitch: Fix tracking of flags seen in TCP flows.Ben Pfaff1-2/+2
2014-05-22openvswitch: Simplify genetlink code.Pravin B Shelar1-95/+90
2014-05-22openvswitch: Minimize ovs_flow_cmd_new|set critical sections.Jarno Rajahalme1-76/+116
2014-05-22openvswitch: Split ovs_flow_cmd_new_or_set().Jarno Rajahalme1-44/+116
2014-05-22openvswitch: Minimize ovs_flow_cmd_del critical section.Jarno Rajahalme1-25/+28
2014-05-22openvswitch: Reduce locking requirements.Jarno Rajahalme1-25/+29
2014-05-22openvswitch: Minimize dp and vport critical sections.Jarno Rajahalme1-108/+110
2014-05-22openvswitch: Build flow cmd netlink reply only if needed.Jarno Rajahalme1-22/+48
2014-05-22openvswitch: Clarify locking.Jarno Rajahalme1-6/+7
2014-05-22openvswitch: Avoid assigning a NULL pointer to flow actions.Jarno Rajahalme1-6/+8
2014-05-16openvswitch: Remove 5-tuple optimization.Jarno Rajahalme1-6/+5
2014-03-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+5
2014-03-27core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errorsZoltan Kiss1-1/+5
2014-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+5
2014-03-14net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irqEric W. Biederman1-2/+2
2014-02-15openvswitch: Fix race.Jarno Rajahalme1-3/+4
2014-02-15ovs: fix dp check in ovs_dp_reset_user_featuresJiri Pirko1-1/+1
2014-02-15openvswitch: rename ->sync to ->syncpWANG Cong1-6/+6
2014-02-14net: introduce netdev_alloc_pcpu_stats() for driversWANG Cong1-7/+1
2014-02-04openvswitch: Suppress error messages on megaflow updatesAndy Zhou1-4/+1
2014-02-04openvswitch: Fix ovs_dp_cmd_msg_size()Daniele Di Proietto1-0/+1
2014-02-04openvswitch: Fix kernel panic on ovs_flow_freeAndy Zhou1-3/+6
2014-02-04openvswitch: Pad OVS_PACKET_ATTR_PACKET if linear copy was performedThomas Graf1-0/+8
2014-01-06ovs: make functions localStephen Hemminger1-2/+2
2014-01-06openvswitch: Compute checksum in skb_gso_segment() if neededThomas Graf1-1/+1
2014-01-06openvswitch: Use skb_zerocopy() for upcallThomas Graf1-8/+29
2014-01-06openvswitch: Pass datapath into userspace queue functionsThomas Graf1-20/+14
2014-01-06openvswitch: Drop user features if old user space attempted to create datapathThomas Graf1-0/+21