aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_u32.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-02net/sched: Add module aliases for cls_,sch_,act_ modulesMichal Koutný1-0/+1
2023-11-18net/sched: cls_u32: replace int refcounts with proper refcountsPedro Tammela1-18/+18
2023-11-01net: sched: Fill in missing MODULE_DESCRIPTION for classifiersVictor Nogueira1-0/+1
2023-10-06net: sched: cls_u32: Fix allocation size in u32_init()Gustavo A. R. Silva1-1/+1
2023-07-31net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-freevalis1-1/+0
2023-07-28net: sched: cls_u32: Fix match key mis-addressingJamal Hadi Salim1-6/+50
2023-07-17net: sched: cls_u32: Undo refcount decrement in case update failedVictor Nogueira1-0/+7
2023-07-17net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knodeVictor Nogueira1-11/+30
2023-06-09net/sched: cls_u32: Fix reference counter leak leading to overflowLee Jones1-8/+10
2022-12-09net/sched: avoid indirect classify functions on retpoline kernelsPedro Tammela1-2/+4
2022-10-02net: sched: use tc_cls_bind_class() in filterZhengchao Shao1-6/+1
2022-09-29net: sched: cls_u32: Avoid memcpy() false-positive warningKees Cook1-1/+5
2022-09-20net/sched: use tc_cls_stats_dump() in filterZhengchao Shao1-15/+5
2022-04-15net/sched: cls_u32: fix possible leak in u32_init_knode()Eric Dumazet1-4/+4
2022-04-15net/sched: cls_u32: fix netns refcount changes in u32_change()Eric Dumazet1-6/+10
2021-12-19flow_offload: validate flags of filter and actionsBaowen Zheng1-5/+7
2021-08-02net_sched: refactor TC action init APICong Wang1-12/+12
2020-12-08net/sched: cls_u32: simplify the return expression of u32_reoffload_knode()Zheng Yongjun1-8/+3
2020-09-28net/sched: cls_u32: Replace one-element array with flexible-array memberGustavo A. R. Silva1-4/+4
2020-07-31net/sched: cls_u32: Use struct_size() helperGustavo A. R. Silva1-14/+6
2020-06-19net/sched: cls_u32: Use struct_size() in kzalloc()Gustavo A. R. Silva1-3/+1
2020-01-27net_sched: fix ops->bind_class() implementationsCong Wang1-3/+8
2019-12-30net/sched: add delete_empty() to filters and use it in cls_flowerDavide Caratti1-25/+0
2019-12-19net/sched: cls_u32: fix refcount leak in the error path of u32_change()Davide Caratti1-0/+25
2019-08-26net: sched: refactor block offloads counter usageVlad Buslov1-17/+12
2019-07-19net: flow_offload: rename tc_setup_cb_t to flow_setup_cb_tPablo Neira Ayuso1-3/+3
2019-06-15net: sched: remove NET_CLS_IND config optionJiri Pirko1-15/+0
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-07net/sched: remove block pointer from common offload structurePieter Jansen van Vuuren1-11/+6
2019-05-05net/sched: add block pointer to tc_cls_common_offload structurePieter Jansen van Vuuren1-6/+11
2019-05-04net: sched: cls_u32: use struct_size() helperGustavo A. R. Silva1-1/+1
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-1/+2
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-1/+1
2019-02-22net_sched: initialize net pointer inside tcf_exts_init()Cong Wang1-4/+4
2019-02-12net: sched: extend proto ops to support unlocked classifiersVlad Buslov1-5/+7
2019-02-12net: sched: track rtnl lock status when validating extensionsVlad Buslov1-1/+1
2018-12-14net_sched: fold tcf_block_cb_call() into tc_setup_cb_call()Cong Wang1-4/+4
2018-11-19net: sched: cls_u32: add res to offload informationJakub Kicinski1-0/+2
2018-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+3
2018-10-08net: sched: cls_u32: simplify the hell out u32_delete() emptiness checkAl Viro1-47/+1
2018-10-08net: sched: cls_u32: keep track of knodes count in tc_u_commonAl Viro1-0/+6
2018-10-08net: sched: cls_u32: get rid of tp_cAl Viro1-7/+4
2018-10-08net: sched: cls_u32: the tp_c argument of u32_set_parms() is always tp->dataAl Viro1-3/+2
2018-10-08net: sched: cls_u32: pass tc_u_common to u32_set_parms() instead of tc_u_hnodeAl Viro1-4/+4
2018-10-08net: sched: cls_u32: clean tc_u_common hashtableAl Viro1-15/+9
2018-10-08net: sched: cls_u32: get rid of tc_u_common ->rcuAl Viro1-1/+0
2018-10-08net: sched: cls_u32: get rid of tc_u_knode ->tpAl Viro1-3/+0
2018-10-08net: sched: cls_u32: get rid of unused argument of u32_destroy_key()Al Viro1-7/+6
2018-10-08net: sched: cls_u32: make sure that divisor is a power of 2Al Viro1-1/+5
2018-10-08net: sched: cls_u32: disallow linking to root hnodeAl Viro1-0/+4
2018-10-08net: sched: cls_u32: mark root hnode explicitlyAl Viro1-1/+3
2018-10-07net: sched: cls_u32: fix hnode refcountingAl Viro1-5/+5
2018-08-26net: sched: Fix memory exposure from short TCA_U32_SELKees Cook1-2/+8
2018-06-26net: sched: cls_u32: implement offload tcf_proto_opJohn Hurley1-0/+111
2018-05-24net_sched: switch to rcu_workCong Wang1-27/+10
2018-04-07net_sched: fix a missing idr_remove() in u32_delete_key()Cong Wang1-0/+1
2018-02-13net: sched: fix tc_u_common lookupJiri Pirko1-4/+20
2018-02-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+2
2018-02-08Merge branch 'idr-2018-02-06' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-28/+19
2018-02-08net/sched: cls_u32: fix cls_u32 on filter replaceIvan Vecera1-1/+2
2018-02-06cls_u32: Convert to idr_alloc_u32Matthew Wilcox1-13/+10
2018-02-06cls_u32: Reinstate cyclic allocationMatthew Wilcox1-10/+4
2018-02-06idr: Delete idr_replace_ext functionMatthew Wilcox1-1/+1
2018-02-06idr: Delete idr_remove_ext functionMatthew Wilcox1-4/+4
2018-02-06cls_u32: fix use after free in u32_destroy_key()Paolo Abeni1-10/+11
2018-02-02cls_u32: add missing RCU annotation.Paolo Abeni1-5/+7
2018-01-24cls_u32: propagate extack to delete callbackJakub Kicinski1-15/+19
2018-01-24cls_u32: pass offload flags to tc_cls_common_offload_init()Jakub Kicinski1-4/+6
2018-01-24net: sched: prepare for reimplementation of tc_cls_common_offload_init()Jakub Kicinski1-4/+4
2018-01-24net: sched: propagate extack to cls->destroy callbacksJakub Kicinski1-1/+1
2018-01-22net: sched: add extack support for offload via tc_cls_common_offloadQuentin Monnet1-4/+4
2018-01-22net: sched: cls_u32: propagate extack support for filter offloadQuentin Monnet1-5/+5
2018-01-19net: sched: cls_u32: add extack supportAlexander Aring1-14/+44
2018-01-19net: sched: cls: add extack support for tcf_change_indevAlexander Aring1-1/+1
2018-01-19net: sched: cls: add extack support for delete callbackAlexander Aring1-1/+2
2018-01-19net: sched: cls: add extack support for tcf_exts_validateAlexander Aring1-4/+6
2018-01-19net: sched: cls: add extack support for change callbackAlexander Aring1-1/+2
2018-01-19net: sched: cls: fix code style issuesAlexander Aring1-4/+4
2018-01-17net: sched: keep track of offloaded filters and check tc offload featureJiri Pirko1-6/+7
2017-12-13net: remove duplicate includesPravin Shedge1-1/+0
2017-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+7
2017-11-09cls_u32: use tcf_exts_get_net() before call_rcu()Cong Wang1-1/+7
2017-11-04net: sched: cls_u32: use bitwise & rather than logical && on n->flagsColin Ian King1-1/+1
2017-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+26
2017-10-29net_sched: use tcf_queue_work() in u32 filterCong Wang1-3/+26
2017-10-21net: sched: avoid ndo_setup_tc calls for TC_SETUP_CLS*Jiri Pirko1-31/+0
2017-10-21net: sched: cls_u32: call block callbacks for offloadJiri Pirko1-20/+52
2017-10-21net: sched: cls_u32: swap u32_remove_hw_knode and u32_remove_hw_hnodeJiri Pirko1-8/+8
2017-10-20net: sched: cls_u32: use hash_ptr() for tc_u_hashArnd Bergmann1-1/+1
2017-10-16net: sched: cls_u32: use block instead of q in tc_u_commonJiri Pirko1-8/+4
2017-09-28net_sched: use idr to allocate u32 filter handlesCong Wang1-41/+67
2017-08-31net_sched: add reverse binding for tc classCong Wang1-0/+9
2017-08-25net_sched: kill u32_node pointer in QdiscWANG Cong1-4/+53
2017-08-11net: sched: remove cops->tcf_cl_offloadJiri Pirko1-4/+4
2017-08-07net_sched: use void pointer for filter handleWANG Cong1-15/+15
2017-08-07net: sched: get rid of struct tc_to_netdevJiri Pirko1-46/+37
2017-08-07net: sched: push cls related args into cls_common structureJiri Pirko1-12/+8
2017-08-07net: sched: make type an argument for ndo_setup_tcJiri Pirko1-12/+8
2017-08-04net: sched: cls_u32: no need to call tcf_exts_change for newly allocated structJiri Pirko1-14/+4
2017-06-08net: propagate tc filter chain index down the ndo_setup_tc callJiri Pirko1-4/+8
2017-04-21net_sched: move the empty tp check from ->destroy() to ->delete()WANG Cong1-30/+41
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-1/+1
2017-02-17net/sched: cls_u32: Reflect HW offload statusOr Gerlitz1-0/+10
2017-01-09cls_u32: don't bother explicitly initializing ->divisor to zeroAlexandru Moise1-1/+0
2016-09-19net sched: stylistic cleanupsJamal Hadi Salim1-18/+12
2016-08-22net_sched: properly handle failure case of tcf_exts_init()WANG Cong1-6/+15
2016-06-08net: cls_u32: be more strict about skip-sw flag for knodesJakub Kicinski1-18/+19
2016-06-08net: cls_u32: catch all hardware offload errorsJakub Kicinski1-1/+7
2016-06-07net: sched: fix tc_should_offload for specific clsact classesDaniel Borkmann1-4/+4
2016-06-07net: cls_u32: be more strict about skip-sw flagJakub Kicinski1-10/+11
2016-06-07net: cls_u32: fix error code for invalid flagsJakub Kicinski1-1/+1
2016-05-16net: cls_u32: Add support for skip-sw flag to tc u32 classifier.Samudrala, Sridhar1-9/+36
2016-04-26sched: align nlattr properly when neededNicolas Dichtel1-3/+4
2016-03-01net: sched: cls_u32 add bit to specify software only rulesJohn Fastabend1-10/+27
2016-03-01net: sched: consolidate offload decision in cls_u32John Fastabend1-4/+4
2016-02-17net: sched: add cls_u32 offload hooks for netdevsJohn Fastabend1-2/+97
2015-08-25cls_u32: complete the check for non-forced case in u32_destroy()WANG Cong1-0/+13
2015-03-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+4
2015-03-09net_sched: fix struct tc_u_hnode layout in u32WANG Cong1-1/+4
2015-03-09net_sched: destroy proto tp when all filters are goneCong Wang1-1/+24
2014-12-09net: sched: cls: remove unused op put from tcf_proto_opsJiri Pirko1-5/+0
2014-10-01net_sched: avoid calling tcf_unbind_filter() in call_rcu callbackWANG Cong1-4/+6
2014-09-28net_sched: remove the first parameter from tcf_exts_destroy()WANG Cong1-2/+2
2014-09-22net: sched: fix compile warning in cls_u32Eric Dumazet1-1/+1
2014-09-22net: sched: cls_u32 changes to knode must appear atomic to readersJohn Fastabend1-9/+126
2014-09-22net: cls_u32: fix missed pcpu_success free_percpuJohn Fastabend1-0/+13
2014-09-19net: sched: cls_u32: rcu can not be last nodeJohn Fastabend1-1/+4
2014-09-16net: sched: cls_u32 add missing rcu_assign_pointer and annotationJohn Fastabend1-3/+4
2014-09-16net: sched: fix unsued cpu variableJohn Fastabend1-3/+4
2014-09-13net: sched: make cls_u32 locklessJohn Fastabend1-73/+110
2014-09-13net: sched: make cls_u32 per cpuJohn Fastabend1-16/+59
2014-07-20net_sched: avoid generating same handle for u32 filtersCong Wang1-5/+14
2014-04-27sched, cls: check if we could overwrite actions when changing a filterCong Wang1-5/+5
2014-01-13net_sched: avoid casting void pointerWANG Cong1-1/+1
2014-01-13net_sched: optimize tcf_match_indev()WANG Cong1-7/+12
2014-01-13net_sched: add struct net pointer to tcf_proto_ops->dumpWANG Cong1-1/+1
2013-12-18net_sched: cls: refactor out struct tcf_ext_mapWANG Cong1-9/+5
2013-12-18net_sched: act: use standard struct list_headWANG Cong1-0/+1
2013-12-10net_sched: change "foo* bar" to "foo *bar"Yang Yingliang1-1/+1
2013-01-14pkt_sched: namespace aware act_mirredBenjamin LaHaise1-6/+7
2012-08-14net sched: Pass the skb into change so it can access NETLINK_CBEric W. Biederman1-1/+2
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-2/+1
2012-04-01pkt_sched: Stop using NLA_PUT*().David S. Miller1-16/+24
2011-07-06net: sched: constify tcf_proto and tc_actionEric Dumazet1-1/+1
2011-02-22cls_u32: fix sparse warningsstephen hemminger1-6/+6
2011-01-19net_sched: cleanupsEric Dumazet1-38/+39
2010-10-05cls_u32: signedness bugDan Carpenter1-1/+1
2010-08-02u32: negative offset fixstephen hemminger1-2/+4
2010-06-02cls_u32: use skb_header_pointer() to dereference data safelyChangli Gao1-13/+36
2010-05-17net sched: printk message severitystephen hemminger1-5/+5
2010-04-11Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-0/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-24net: remove trailing space in messagesFrans Pop1-2/+2
2009-01-05pkt_sched: cls_u32: Fix locking in u32_change()Jarek Poplawski1-1/+2
2008-11-20pkt_sched: remove unnecessary xchg() in packet classifiersPatrick McHardy1-5/+6
2008-07-25net: convert BUG_TRAP to generic WARN_ONIlpo Järvinen1-5/+5
2008-07-18pkt_sched: Get rid of u32_list.David S. Miller1-15/+3
2008-04-12[NET_SCHED] cls_u32: refcounting fix for u32_delete()Jarek Poplawski1-3/+9
2008-03-17[PKT_SCHED]: annotate cls_u32Al Viro1-4/+4
2008-01-31[NET_SCHED]: Constify struct tcf_ext_mapPatrick McHardy1-1/+1
2008-01-28[NET_SCHED]: Use nla_policy for attribute validation in classifiersPatrick McHardy1-10/+12
2008-01-28[NET_SCHED]: Use typeful attribute parsing helpersPatrick McHardy1-4/+4
2008-01-28[NET_SCHED]: Use typeful attribute construction helpersPatrick McHardy1-4/+4
2008-01-28[NET_SCHED]: Use NLA_PUT_STRING for string dumpingPatrick McHardy1-1/+1
2008-01-28[NET_SCHED]: Use nla_nest_start/nla_nest_endPatrick McHardy1-6/+7
2008-01-28[NET_SCHED]: Propagate nla_parse return valuePatrick McHardy1-2/+3
2008-01-28[NET_SCHED]: Convert classifiers from rtnetlink to new netlink APIPatrick McHardy1-39/+39
2008-01-28[NET_SCHED]: mark classifier ops __read_mostlyPatrick McHardy1-2/+1
2007-11-10[PKT_SCHED] CLS_U32: Use ffs() instead of C code on hash mask to get first se...Radu Rendec1-11/+1
2007-11-07[PKT_SCHED] CLS_U32: Fix endianness problem with u32 classifier hash masks.Radu Rendec1-2/+2
2007-10-10[NET]: sparse warning fixesStephen Hemminger1-1/+1
2007-10-07[PKT_SCHED] cls_u32: error code isn't been propogated properlyStephen Hemminger1-1/+1
2007-07-15[NET_SCHED]: Kill CONFIG_NET_CLS_POLICEPatrick McHardy1-3/+0
2007-07-10[NET_SCHED]: Remove unnecessary includesPatrick McHardy1-17/+1
2007-04-25[NET]: cleanup extra semicolonsStephen Hemminger1-1/+1
2007-04-25[NETLINK]: Use nlmsg_trim() where appropriateArnaldo Carvalho de Melo1-1/+2
2007-04-25[SK_BUFF]: Convert skb->tail to sk_buff_data_tArnaldo Carvalho de Melo1-3/+3
2007-04-25[SK_BUFF]: Introduce skb_network_header()Arnaldo Carvalho de Melo1-1/+1
2007-02-14[PATCH] remove many unneeded #includes of sched.hTim Schmielau1-1/+0
2007-02-10[NET] SCHED: Fix whitespace errors.YOSHIFUJI Hideaki1-2/+2
2006-12-02[NET]: Turn nfmark into generic markThomas Graf1-1/+1
2006-08-17[PKT_SCHED] cls_u32: Fix typo.Ralf Hildebrandt1-1/+1
2006-07-21[NET]: Conversions from kmalloc+memset to k(z|c)alloc.Panagiotis Issaris1-10/+5
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-03-23[NET_SCHED]: cls_u32: remove unnecessary NULL-ptr checkPatrick McHardy1-4/+2
2005-11-08[NET]: kfree cleanupJesper Juhl1-2/+2
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+828