aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_api.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-10net: sched: cls_api: fix slab-use-after-free in fl_dump_keyJianbo Liu1-1/+1
2024-03-29net: sched: make skip_sw actually skip softwareAsbjørn Sloth Tønnesen1-0/+18
2024-03-29net: sched: cls_api: add filter counterAsbjørn Sloth Tønnesen1-0/+19
2024-03-29net: sched: cls_api: add skip_sw counterAsbjørn Sloth Tønnesen1-0/+4
2024-02-02net/sched: Load modules via their aliasMichal Koutný1-1/+1
2024-01-24net/sched: flower: Fix chain template offloadIdo Schimmel1-1/+8
2024-01-13net: sched: track device in tcf_block_get/put_ext() only for clsact binder typesJiri Pirko1-2/+10
2024-01-07net/sched: simplify tc_action_load_ops parametersPedro Tammela1-3/+2
2024-01-05net: sched: move block device tracking into tcf_block_get/put_ext()Jiri Pirko1-0/+14
2024-01-03net/sched: cls_api: complement tcf_tfilter_dump_policyLin Ma1-0/+1
2023-12-26net/sched: cls_api: Expose tc block to the datapathVictor Nogueira1-1/+2
2023-12-26net/sched: Introduce tc block netdev tracking infraVictor Nogueira1-0/+2
2023-12-20net: sched: Add initial TC error skb drop reasonsVictor Nogueira1-8/+14
2023-12-20net: sched: Move drop_reason to struct tc_skb_cbVictor Nogueira1-15/+8
2023-12-13net/sched: act_api: skip idr replace on bound actionsPedro Tammela1-1/+1
2023-12-11net/sched: cls_api: conditional notification of eventsPedro Tammela1-0/+12
2023-12-11net/sched: cls_api: remove 'unicast' argument from delete notificationPedro Tammela1-17/+9
2023-11-06net, sched: Fix SKB_NOT_DROPPED_YET splat under debug configJamal Hadi Salim1-1/+8
2023-10-16net, sched: Add tcf_set_drop_reason for {__,}tcf_classifyDaniel Borkmann1-6/+20
2023-06-14net/sched: cls_api: Fix lockup on flushing explicitly created chainVlad Buslov1-5/+7
2023-06-07net: sched: fix possible refcount leak in tc_chain_tmplt_add()Hangyu Hua1-0/+1
2023-06-07net: sched: move rtm_tca_policy declaration to include fileEric Dumazet1-2/+0
2023-04-28net/sched: cls_api: remove block_cb from driver_list before freeingVlad Buslov1-0/+1
2023-04-21net/sched: cls_api: Initialize miss_cookie_node when action miss is not usedIvan Vecera1-0/+1
2023-04-17net/sched: clear actions pointer in miss cookie init failPedro Tammela1-0/+3
2023-02-26net/sched: cls_api: Move call to tcf_exts_miss_cookie_base_destroy()Nathan Chancellor1-1/+1
2023-02-20net/sched: cls_api: Support hardware miss to tc actionPaul Blakey1-10/+205
2023-02-20net/sched: Rename user cookie and act cookiePaul Blakey1-14/+14
2023-02-14net/sched: introduce flow_offload action cookieOz Shlomo1-0/+1
2023-01-17sched: add new attr TCA_EXT_WARN_MSG to report tc extact messageHangbin Liu1-23/+39
2022-12-09net/sched: avoid indirect classify functions on retpoline kernelsPedro Tammela1-1/+2
2022-10-25act_skbedit: skbedit queue mapping for receive queueAmritha Nambiar1-0/+7
2022-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-09-22net: sched: fix possible refcount leak in tc_new_tfilter()Hangyu Hua1-0/+1
2022-09-02net/sched: cls_api: remove redundant 0 check in tcf_qevent_init()Zhengchao Shao1-3/+0
2022-08-23net: sched: remove duplicate check of user rights in qdiscZhengchao Shao1-10/+0
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+10
2022-07-20net/sched: cls_api: Fix flow action initializationOz Shlomo1-6/+10
2022-07-13net/sched: remove return value of unregister_tcf_proto_opsZhengchao Shao1-2/+3
2022-04-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-1/+1
2022-04-08net/sched: fix initialization order when updating chain 0 headMarcelo Ricardo Leitner1-1/+1
2022-04-08net/sched: cls_api: Add extack message for unsupported action offloadIdo Schimmel1-2/+4
2022-04-08net/sched: act_api: Add extack to offload_act_setup() callbackIdo Schimmel1-6/+10
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2022-02-14net_sched: add __rcu annotation to netdev->qdiscEric Dumazet1-3/+3
2022-02-05net/sched: Enable tc skb ext allocation on chain miss only when neededPaul Blakey1-13/+32
2022-02-01net: sched: fix use-after-free in tc_new_tfilter()Eric Dumazet1-4/+7
2022-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-01-09net: openvswitch: Fix ct_state nat flags for conns arriving from tcPaul Blakey1-0/+2
2021-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+5
2021-12-21net/sched: use min() macro instead of doing it manuallyYang Li1-3/+3
2021-12-19flow_offload: validate flags of filter and actionsBaowen Zheng1-4/+14
2021-12-19flow_offload: allow user to offload tc action to net deviceBaowen Zheng1-4/+17
2021-12-19flow_offload: add ops to tc_action_ops for flow action setupBaowen Zheng1-208/+14
2021-12-19flow_offload: rename offload functions with offload instead of flowBaowen Zheng1-6/+6
2021-12-19flow_offload: add index to flow_action_entry structureBaowen Zheng1-2/+1
2021-12-17net: openvswitch: Fix matching zone id for invalid conns arriving from tcPaul Blakey1-0/+1
2021-12-17net/sched: Extend qdisc control block with tc control blockPaul Blakey1-2/+4
2021-12-14flow_offload: return EOPNOTSUPP for the unsupported mpls action typeBaowen Zheng1-0/+1
2021-08-19net: Fix offloading indirect devices dependency on qdisc order creationEli Cohen1-0/+1
2021-08-10net/sched: cls_api, reset flags on replayMark Bloch1-1/+2
2021-08-02net_sched: refactor TC action init APICong Wang1-11/+17
2021-07-29net/sched: store the last executed chain also for clsact egressDavide Caratti1-25/+17
2021-07-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2021-07-22net: sched: cls_api: Fix the the wrong parameterYajun Deng1-1/+1
2021-07-16net/sched: Remove unnecessary if statementYajun Deng1-11/+4
2021-05-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-05-25net: zero-initialize tc skb extension on allocationVlad Buslov1-1/+1
2021-05-19net/sched: cls_api: increase max_reclassify_loopDavide Caratti1-1/+1
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+8
2021-04-08net: sched: fix err handler in tcf_action_init()Vlad Buslov1-3/+2
2021-04-08net: sched: fix action overwrite reference countingVlad Buslov1-4/+5
2021-04-02net: cls_api: Fix uninitialised struct field bo->unlocked_driver_cbYunjian Wang1-1/+1
2021-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2021-03-16net/sched: act_api: fix miss set post_ct for ovs after do conntrack in act_ctwenxu1-0/+1
2021-03-13flow_offload: add support for packet-per-second policingXingfeng Hu1-0/+3
2021-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2021-02-16net: sched: fix police ext initializationVlad Buslov1-0/+1
2021-01-18net_sched: fix RTNL deadlock again caused by request_module()Cong Wang1-2/+9
2020-12-01net: sched: remove redundant 'rtnl_held' argumentVlad Buslov1-10/+8
2020-11-16treewide: rename nla_strlcpy to nla_strscpy.Francis Laniel1-1/+1
2020-11-16Modify return value of nla_strlcpy to match that of strscpy.Francis Laniel1-1/+1
2020-10-30net: cls_api: remove unneeded local variable in tc_dump_chain()Lukas Bulwahn1-13/+3
2020-10-27net: protect tcf_block_unbind with block lockLeon Romanovsky1-2/+2
2020-10-20net/sched: act_gate: Unlock ->tcfa_lock in tc_setup_flow_action()Guillaume Nault1-1/+1
2020-08-03net/sched: act_ct: fix miss set mru for ovs after defrag in act_ctwenxu1-0/+1
2020-07-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+0
2020-07-24flow_offload: Move rhashtable inclusion to the source fileHerbert Xu1-1/+0
2020-07-16net: sched: Do not drop root lock in tcf_qevent_handle()Petr Machata1-7/+1
2020-07-13net: sched: Pass qdisc reference in struct flow_block_offloadPetr Machata1-7/+9
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-07-03sched: consistently handle layer3 header accesses in the presence of VLANsToke Høiland-Jørgensen1-1/+1
2020-06-29net:qos: police action offloading parameter 'burst' change to the original valuePo Liu1-1/+1
2020-06-29net: sched: Introduce helpers for qevent blocksPetr Machata1-0/+119
2020-06-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-10/+15
2020-06-24net: qos: police action add index for tc flower offloadingPo Liu1-0/+1
2020-06-24net: qos: add tc police offloading action with max frame size limitPo Liu1-0/+1
2020-06-19net/sched: cls_api: fix nooffloaddevcnt warning dmesg logwenxu1-10/+14
2020-06-19net: flow_offload: fix flow_indr_dev_unregister pathwenxu1-0/+1
2020-06-01net: remove indirect block netdev event registrationPablo Neira Ayuso1-79/+0
2020-06-01net: use flow_indr_dev_setup_offload()Pablo Neira Ayuso1-29/+29
2020-06-01net: cls_api: add tcf_block_offload_init()Pablo Neira Ayuso1-7/+19
2020-05-15net: sched: implement terse dump support in actVlad Buslov1-1/+27
2020-05-15net: sched: introduce terse dump flagVlad Buslov1-8/+31
2020-05-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-6/+16
2020-05-06net: flow_offload: skip hw stats check for FLOW_ACTION_HW_STATS_DONT_CAREPablo Neira Ayuso1-2/+12
2020-05-04net_sched: fix tcm_parent in tc filter dumpCong Wang1-4/+4
2020-05-01net: schedule: add action gate offloadingPo Liu1-0/+33
2020-04-24net: sched: report ndo_setup_tc failures via extackJesper Dangaard Brouer1-1/+4
2020-04-07net: sched: Fix setting last executed chain on skb extensionPaul Blakey1-0/+1
2020-03-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-nextDavid S. Miller1-1/+1
2020-03-27netfilter: flowtable: Fix incorrect tc_setup_type typewenxu1-1/+1
2020-03-23net: sched: rename more stats_typesJakub Kicinski1-5/+5
2020-03-19net: tc_skbedit: Make the skbedit priority offloadablePetr Machata1-0/+3
2020-03-18net: sched: Fix hw_stats_type setting in pedit loopPetr Machata1-1/+1
2020-03-17net: rename flow_action_hw_stats_types* -> flow_action_hw_stats*Jakub Kicinski1-3/+3
2020-03-16net: sched: set the hw_stats_type in pedit loopJiri Pirko1-0/+1
2020-03-12net/sched: act_ct: Enable hardware offload of flow table entiresPaul Blakey1-0/+1
2020-03-12Merge branch 'ct-offload' of git://git.kernel.org/pub/scm/linux/kernel/git/sa...David S. Miller1-17/+81
2020-03-08sched: act: allow user to specify type of HW stats for a filterJiri Pirko1-0/+7
2020-02-25flow_offload: pass action cookie through offload structuresJiri Pirko1-1/+30
2020-02-19net: sched: Support specifying a starting chain via tc skb extPaul Blakey1-4/+35
2020-02-19net: sched: Change the block's chain list to an rcu listPaul Blakey1-2/+3
2020-02-19net: sched: Pass ingress block to tcf_classify_ingressPaul Blakey1-1/+3
2020-02-19net: sched: Introduce ingress classification functionPaul Blakey1-14/+44
2020-02-17net: sched: don't take rtnl lock during flow_action setupVlad Buslov1-7/+1
2020-02-17net: sched: lock action when translating it to flow_action infraVlad Buslov1-6/+11
2020-01-22net_sched: use validated TCA_KIND attribute in tc_new_tfilter()Eric Dumazet1-3/+2
2019-12-30net/sched: add delete_empty() to filters and use it in cls_flowerDavide Caratti1-26/+5
2019-12-07net_sched: validate TCA_KIND attribute in tc_chain_tmplt_add()Eric Dumazet1-1/+7
2019-12-06net: sched: allow indirect blocks to bind to clsact in TCJohn Hurley1-19/+33
2019-12-06net: core: rename indirect block ingress cb functionJohn Hurley1-2/+2
2019-11-05net: sched: prevent duplicate flower rules from tcf_proto destroy raceJohn Hurley1-4/+79
2019-10-08net_sched: fix backward compatibility for TCA_KINDCong Wang1-3/+33
2019-09-24net: sched: fix possible crash in tcf_action_destroy()Eric Dumazet1-2/+4
2019-09-16net: sched: use get_dev() action API in flow_action infraVlad Buslov1-10/+3
2019-09-16net: sched: take reference to psample group in flow_action infraVlad Buslov1-2/+11
2019-09-16net: sched: extend flow_action_entry with destructorVlad Buslov1-32/+45
2019-09-06net: openvswitch: Set OvS recirc_id from tc chain indexPaul Blakey1-0/+12
2019-08-26net: sched: copy tunnel info when setting flow_action entry->tunnelVlad Buslov1-1/+8
2019-08-26net: sched: take reference to action dev before calling offloadsVlad Buslov1-0/+32
2019-08-26net: sched: take rtnl lock in tc_setup_flow_action()Vlad Buslov1-4/+13
2019-08-26net: sched: conditionally obtain rtnl lock in cls hw offloads APIVlad Buslov1-0/+65
2019-08-26net: sched: add API for registering unlocked offload block callbacksVlad Buslov1-0/+6
2019-08-26net: sched: notify classifier on successful offload add/deleteVlad Buslov1-2/+17
2019-08-26net: sched: refactor block offloads counter usageVlad Buslov1-14/+162
2019-08-26net: sched: change tcf block offload counter type to atomic_tVlad Buslov1-1/+1
2019-08-26net: sched: protect block offload-related fields with rw_semaphoreVlad Buslov1-9/+36
2019-08-08flow_offload: support get multi-subsystem blockwenxu1-1/+8
2019-08-08flow_offload: move tc indirect block to flow offloadwenxu1-215/+25
2019-08-08cls_api: add flow_indr_block_call functionwenxu1-10/+17
2019-08-08cls_api: remove the tcf_block cachewenxu1-8/+8
2019-08-08cls_api: modify the tc_indr_block_ing_cmd parameters.wenxu1-11/+15
2019-08-06net: sched: add ingress mirred action to hardware IRJohn Hurley1-0/+6
2019-08-06net: sched: add skbedit of ptype action to hardware IRJohn Hurley1-0/+3
2019-07-23net: sched: include mpls actions in hardware intermediate representationJohn Hurley1-0/+25
2019-07-21net: sched: verify that q!=NULL before setting q->flagsVlad Buslov1-1/+3
2019-07-19net: flow_offload: add flow_block structure and use itPablo Neira Ayuso1-3/+7
2019-07-19net: flow_offload: rename tc_setup_cb_t to flow_setup_cb_tPablo Neira Ayuso1-1/+1
2019-07-17net_sched: unset TCQ_F_CAN_BYPASS when adding filtersCong Wang1-0/+1
2019-07-12net: sched: Fix NULL-pointer dereference in tc_indr_block_ing_cmd()Vlad Buslov1-1/+1
2019-07-09net: sched: remove tcf block APIPablo Neira Ayuso1-98/+0
2019-07-09drivers: net: use flow block APIPablo Neira Ayuso1-7/+7
2019-07-09net: sched: use flow block APIPablo Neira Ayuso1-1/+87
2019-07-09net: flow_offload: add list handling functionsPablo Neira Ayuso1-0/+3
2019-07-09net: flow_offload: rename TCF_BLOCK_BINDER_TYPE_* to FLOW_BLOCK_BINDER_TYPE_*Pablo Neira Ayuso1-7/+7
2019-07-09net: flow_offload: rename TC_BLOCK_{UN}BIND to FLOW_BLOCK_{UN}BINDPablo Neira Ayuso1-11/+11
2019-07-09net/sched: Introduce action ctPaul Blakey1-0/+5
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-6/+1
2019-05-05net/sched: add police action to the hardware intermediate representationPieter Jansen van Vuuren1-0/+6
2019-05-05net/sched: add sample action to the hardware intermediate representationPieter Jansen van Vuuren1-0/+8
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-8/+12
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-2/+2
2019-04-02net: sched: don't set tunnel for decap actionVlad Buslov1-1/+0
2019-03-21net/sched: let actions use RCU to access 'goto_chain'Davide Caratti1-1/+1
2019-03-13net_sched: return correct value for *notify* functionsZhike Wang1-9/+23
2019-03-08net: sched: fix potential use-after-free in __tcf_chain_put()Vlad Buslov1-10/+7
2019-02-26net: sched: fix typo in walker_check_empty()Vlad Buslov1-2/+2
2019-02-25net: sched: don't release block->lock when dumping chainsVlad Buslov1-9/+7
2019-02-25net: sched: set dedicated tcf_walker flag when tp is emptyVlad Buslov1-4/+9
2019-02-22net_sched: initialize net pointer inside tcf_exts_init()Cong Wang1-1/+0
2019-02-21net: sched: potential NULL dereference in tcf_block_find()Dan Carpenter1-1/+3
2019-02-13net: sched: remove duplicated include from cls_api.cYueHaibing1-1/+0
2019-02-12net: sched: unlock rules update APIVlad Buslov1-17/+114
2019-02-12net: sched: refactor tcf_block_find() into standalone functionsVlad Buslov1-92/+149
2019-02-12net: sched: extend proto ops to support unlocked classifiersVlad Buslov1-75/+93
2019-02-12net: sched: extend proto ops with 'put' callbackVlad Buslov1-1/+11
2019-02-12net: sched: track rtnl lock status when validating extensionsVlad Buslov1-4/+5
2019-02-12net: sched: prevent insertion of new classifiers during chain flushVlad Buslov1-6/+29
2019-02-12net: sched: refactor tp insert/delete for concurrent executionVlad Buslov1-25/+152
2019-02-12net: sched: traverse classifiers in chain with tcf_get_next_proto()Vlad Buslov1-10/+60
2019-02-12net: sched: introduce reference counting for tcf_protoVlad Buslov1-10/+43
2019-02-12net: sched: protect filter_chain list with filter_chain_lock mutexVlad Buslov1-32/+79
2019-02-12net: sched: protect chain template accesses with block lockVlad Buslov1-16/+57
2019-02-12net: sched: traverse chains in block with tcf_get_next_chain()Vlad Buslov1-25/+71
2019-02-12net: sched: protect block->chain0 with block->lockVlad Buslov1-3/+14
2019-02-12net: sched: refactor tc_ctl_chain() to use block->lockVlad Buslov1-11/+25
2019-02-12net: sched: protect chain->explicitly_created with block->lockVlad Buslov1-6/+13
2019-02-12net: sched: protect block state with mutexVlad Buslov1-13/+71
2019-02-06cls_api: add translator to flow_action representationPablo Neira Ayuso1-0/+99