aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/fib_rules.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-12fib: rules: no longer hold RTNL in fib_nl_dumprule()Eric Dumazet1-8/+9
2024-01-07fib: rules: remove repeated assignment in fib_nl2ruleZhengchao Shao1-1/+0
2024-01-03fib: remove unnecessary input parameters in fib_default_rule_addZhengchao Shao1-2/+1
2021-12-16fib: expand fib_rule_policyFlorian Westphal1-1/+17
2021-12-16fib: rules: remove duplicated nla policiesFlorian Westphal1-2/+7
2021-11-29ipv6: fix memory leak in fib6_rule_suppressmsizanoen11-1/+1
2021-07-20memcg: enable accounting for IP address and routing-related objectsVasily Averin1-2/+2
2021-06-03fib: Return the correct errno codeZheng Yongjun1-1/+1
2020-11-16treewide: rename nla_strlcpy to nla_strscpy.Francis Laniel1-2/+2
2020-09-08fib: fix fib_rule_ops indirect call wrappers when CONFIG_IPV6=mBrian Vazquez1-1/+1
2020-08-03fib: Fix undef compile warningYueHaibing1-1/+1
2020-08-01fib: fix another fib_rules_ops indirect call wrapper problemBrian Vazquez1-0/+6
2020-07-29fib: fix fib_rules_ops indirect calls wrappersBrian Vazquez1-13/+20
2020-07-28fib: use indirect call wrappers in the most common fib_rules_opsBrian Vazquez1-4/+14
2020-02-16net: fib_rules: Correctly set table field when table number exceeds 8 bitsJethro Beekman1-1/+1
2019-10-04net: fib_notifier: propagate extack down to the notifier block callbackJiri Pirko1-3/+6
2019-10-04net: fib_notifier: propagate possible error during fib notifier registrationJiri Pirko1-3/+8
2019-10-04net: fib_notifier: make FIB notifier per-netnsJiri Pirko1-4/+3
2019-06-08Merge tag 'spdx-5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-4/+1
2019-06-05Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_...Hangbin Liu1-3/+3
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372Thomas Gleixner1-4/+1
2019-05-08fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL n...Hangbin Liu1-3/+3
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-2/+4
2018-10-08net/fib_rules: Update fib_nl_dumprule for strict data checkingDavid Ahern1-1/+35
2018-07-30fib_rules: NULL check before kfree is not neededYueHaibing1-2/+1
2018-06-30net: fib_rules: bring back rule_exists to match rule during addRoopa Prabhu1-1/+71
2018-06-27fib_rules: match rules based on suppress_* properties tooJason A. Donenfeld1-0/+8
2018-04-25net: rules: Move l3mdev attribute validation to a helperDavid Ahern1-10/+24
2018-04-23net: fib_rules: fix l3mdev netlink attr processingRoopa Prabhu1-0/+2
2018-04-23net: fib_rules: add extack supportRoopa Prabhu1-13/+42
2018-04-23fib_rules: move common handling of newrule delrule msgs into fib_nl2ruleRoopa Prabhu1-244/+192
2018-03-29net: Move call_fib_rule_notifiers up in fib_nl_newruleDavid Ahern1-1/+5
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-02-28net: fib_rules: support for match on ip_proto, sport and dportRoopa Prabhu1-2/+90
2018-02-23net: fib_rules: Add new attribute to set protocolDonald Sharp1-4/+11
2018-02-21net: Allow a rule to track originating protocolDonald Sharp1-1/+6
2018-02-13net: Convert fib_* pernet_operations, registered via subsys_initcallKirill Tkhai1-0/+1
2017-11-14fib_rules: exit_net cleanup check addedVasily Averin1-0/+6
2017-11-01net: Add extack to fib_notifier_infoDavid Ahern1-3/+6
2017-08-09rtnetlink: make rtnl_register accept a flags parameterFlorian Westphal1-3/+3
2017-08-03net: fib_rules: Implement notification logic in coreIdo Schimmel1-0/+63
2017-07-13net: set fib rule refcount after mallocDavid Ahern1-2/+1
2017-07-03net: avoid one splat in fib_nl_delrule()Eric Dumazet1-1/+1
2017-07-01net: convert fib_rule.refcnt from atomic_t to refcount_tReshetova, Elena1-2/+2
2017-06-20fib_rules: Resolve goto rules target on deleteSerhey Popovych1-7/+14
2017-04-27fib_rules: fix error return codeWei Yongjun1-2/+4
2017-04-17net: rtnetlink: plumb extended ack to doit functionDavid Ahern1-4/+6
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-2/+2
2017-03-16ipv4: fib_rules: Check if rule is a default ruleIdo Schimmel1-0/+14
2016-11-09net: core: add missing check for uid_range in rule_exists.Lorenzo Colitti1-0/+4
2016-11-04net: core: add UID to flows, rules, and routesLorenzo Colitti1-2/+72
2016-06-30fib_rules: Added NLM_F_EXCL support to fib_nl_newruleMateusz Bajorski1-0/+49
2016-06-08net: Add l3mdev ruleDavid Ahern1-5/+28
2016-04-23libnl: nla_put_be64(): align on a 64-bit areaNicolas Dichtel1-2/+2
2015-09-24fib_rules: fix fib rule dumps across multiple skbsWilson Kok1-5/+9
2015-09-09net: ipv6: use common fib_default_rule_prefPhil Sutter1-7/+3
2015-07-21fib: Add fib rule match on tunnel idThomas Graf1-2/+22
2015-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2015-04-02net: move fib_rules_unregister() under rtnl lockWANG Cong1-1/+1
2015-03-12net: Kill hold_net release_netEric W. Biederman1-14/+3
2015-03-11ipv4: FIB Local/MAIN table collapseAlexander Duyck1-2/+6
2015-01-18netlink: make nlmsg_end() and genlmsg_end() voidJohannes Berg1-1/+2
2014-02-09net: fix 'ip rule' iif/oif device renameMaciej Żenczykowski1-0/+7
2013-11-08net: Fix "ip rule delete table 256"Andreas Henriksson1-1/+2
2013-08-03fib_rules: fix suppressor names and default valuesStefan Tomanek1-4/+11
2013-08-02fib_rules: add route suppression based on ifgroupStefan Tomanek1-0/+10
2013-07-31fib_rules: add .suppress operationStefan Tomanek1-0/+8
2013-05-28net: pass info struct via netdevice notifierJiri Pirko1-2/+2
2013-03-22rtnetlink: Remove passing of attributes into rtnl_doit functionsThomas Graf1-2/+2
2012-09-10netlink: Rename pid to portid to avoid confusionEric W. Biederman1-3/+3
2012-08-23net: reinstate rtnl in call_netdevice_notifiers()Eric Dumazet1-2/+1
2012-08-22net: remove delay at device dismantleEric Dumazet1-1/+2
2012-06-29ipv4: Elide fib_validate_source() completely when possible.David S. Miller1-0/+4
2012-04-02fib_rules: Stop using NLA_PUT*().David S. Miller1-17/+15
2011-10-31net: Fix files explicitly needing to include module.hPaul Gortmaker1-0/+1
2011-10-24Merge branch 'master' of ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+4
2011-10-19fib_rules: fix unresolved_rules countingYan, Zheng1-1/+4
2011-09-22Merge branch 'master' of github.com:davem330/netDavid S. Miller1-2/+2
2011-09-21fib:fix BUG_ON in fib_nl_newrule when add new fib ruleGao feng1-2/+2
2011-08-12net: cleanup some rcu_dereference_rawEric Dumazet1-1/+1
2011-08-02rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTERStephen Hemminger1-1/+1
2011-06-09rtnetlink: Compute and store minimum ifinfo dump sizeGreg Rose1-3/+3
2011-05-25net: hold rtnl again in dump callbacksEric Dumazet1-0/+1
2011-05-02net: dont hold rtnl mutex during netlink dump callbacksEric Dumazet1-1/+2
2011-03-12net: Put flowi_* prefix on AF independent members of struct flowiDavid S. Miller1-3/+3
2010-12-23Revert "ipv4: Allow configuring subnets as local addresses"David S. Miller1-2/+1
2010-10-27fib_rules: __rcu annotates ctargetEric Dumazet1-5/+6
2010-10-26fib: fix fib_nl_newrule()Eric Dumazet1-5/+5
2010-10-16fib: remove a useless synchronize_rcu() callEric Dumazet1-1/+0
2010-10-05fib: RCU conversion of fib_lookup()Eric Dumazet1-1/+2
2010-10-05fib: fib_rules_cleanup can be staticstephen hemminger1-2/+1
2010-09-28ipv4: Allow configuring subnets as local addressesTom Herbert1-1/+2
2010-09-27fib: use atomic_inc_not_zero() in fib_rules_lookupEric Dumazet1-3/+5
2010-04-26net: fib_rules: mark arguments to fib_rules_register const and __net_initdataPatrick McHardy1-1/+1
2010-04-13net: fib_rules: set family in fib_rule_hdr centrallyPatrick McHardy1-0/+1
2010-04-13net: fib_rules: consolidate IPv4 and DECnet ->default_pref() functions.Patrick McHardy1-0/+18
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-16net: remove rcu locking from fib_rules_event()Eric Dumazet1-8/+2
2010-01-17net: spread __net_init, __net_exitAlexey Dobriyan1-1/+1
2009-12-03net: Allow fib_rule_unregister to batchEric W. Biederman1-3/+33
2009-12-03net 04/05: fib_rules: allow to delete local rulePatrick McHardy1-1/+1
2009-12-03net 03/05: fib_rules: add oif classificationPatrick McHardy1-1/+32
2009-12-03net 02/05: fib_rules: rename ifindex/ifname/FRA_IFNAME to iifindex/iifname/FR...Patrick McHardy1-18/+18
2009-05-20net: Remove unused parameter from fill method in fib_rules_ops.Rami Rosen1-1/+1
2009-05-17ipv4: remove an unused parameter from configure method of fib_rules_ops.Rami Rosen1-1/+1
2009-02-24netlink: change nlmsg_notify() return value logicPablo Neira Ayuso1-1/+2
2008-11-07net: fib_rules ordering fixes.Eric W. Biederman1-3/+4
2008-07-05Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-2/+2
2008-07-05net: add fib_rules_ops to flush_cache methodDenis V. Lunev1-1/+1
2008-07-01net: fib_rules: fix error code for unsupported familiesPatrick McHardy1-2/+2
2008-04-16[NETNS]: Add netns refcnt debug to fib rules.Denis V. Lunev1-2/+3
2008-03-26[NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS.YOSHIFUJI Hideaki1-3/+3
2008-03-26[NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS.YOSHIFUJI Hideaki1-1/+1
2008-01-28[NETNS]: Process FIB rule action in the context of the namespace.Denis V. Lunev1-0/+2
2008-01-28[NETNS]: FIB rules API cleanup.Denis V. Lunev1-7/+13
2008-01-28[IPV4]: fib_rules_unregister is essentially void.Denis V. Lunev1-17/+4
2008-01-28[NETNS]: Namespacing in the generic fib rules code.Denis V. Lunev1-37/+54
2008-01-28[NETNS]: Pass fib_rules_ops into default_pref method.Denis V. Lunev1-1/+1
2008-01-28[NETNS]: Add netns parameter to fib_rules_(un)register.Denis V. Lunev1-2/+2
2008-01-28[IPV6]: Make fib6_rules_init to return an error code.Daniel Lezcano1-2/+3
2008-01-28[NET]: Make rtnetlink infrastructure network namespace aware (v3)Denis V. Lunev1-2/+2
2008-01-28[NET]: Modify all rtnetlink methods to only work in the initial namespace (v2)Denis V. Lunev1-0/+11
2007-11-10[INET]: Small possible memory leak in FIB rulesDenis V. Lunev1-0/+22
2007-10-10[IPV4/IPV6/DECNET]: Small cleanup for fib rules.Denis V. Lunev1-11/+11
2007-10-10[NET]: Make the device list and device lookups per namespace.Eric W. Biederman1-1/+3
2007-10-10[NET]: Make device event notification network namespace safeEric W. Biederman1-0/+4
2007-04-25[RTNETLINK]: Remove unnecessary locking in dump callbacksPatrick McHardy1-3/+1
2007-04-25[NET] fib_rules: Flush route cache after rule modificationsThomas Graf1-0/+8
2007-04-25[NET] fib_rules: Add no-operation actionThomas Graf1-1/+3
2007-04-25[NET] fib_rules: Mark rules detached from the deviceThomas Graf1-1/+5
2007-04-25[NET] fib_rules: goto rule actionThomas Graf1-3/+85
2007-04-25[NET] rules: Unified rules dumpingThomas Graf1-10/+37
2007-04-25[NET] rules: Use rtnl registration interfaceThomas Graf1-2/+6
2007-04-02[NET]: Change "not found" return value for rule lookupSteven Whitehouse1-1/+1
2007-03-25[NET]: Fix fib_rules compatibility breakageThomas Graf1-0/+30
2007-03-22[NET]: Fix fib_rules dump racePatrick McHardy1-1/+1
2007-02-08[NETLINK]: Don't BUG on undersized allocationsPatrick McHardy1-5/+9
2006-12-02[NETLINK]: Do precise netlink message allocations where possibleThomas Graf1-5/+19
2006-12-02[NET] rules: Add support to invert selectorsThomas Graf1-7/+17
2006-12-02[NET] rules: Protocol independant mark selectorThomas Graf1-0/+29
2006-10-04Remove all inclusions of <linux/config.h>Dave Jones1-1/+0
2006-09-22[NETLINK]: Make use of NLA_STRING/NLA_NUL_STRING attribute validationThomas Graf1-7/+1
2006-09-22[NET] fib_rules: Convert fib rule notification to use rtnl_notify()Thomas Graf1-11/+21
2006-09-22[NET]: Introduce RTA_TABLE/FRA_TABLE attributesPatrick McHardy1-2/+3
2006-09-22[NET]: Protocol Independant Policy Routing Rules FrameworkThomas Graf1-0/+416