diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-02-07 07:25:01 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-11 03:08:52 +0000 |
| commit | 1cf770da01120c0a84d53c4dddc57a62d1ca4f96 (patch) | |
| tree | a1e034246ea9fcf1bc16cdc2d5bee879507ad7b9 /tools/testing/selftests/drivers/net/hw/ncdevmem.c | |
| parent | net: fib_rules: Convert RTM_NEWRULE to per-netns RTNL. (diff) | |
| download | kernel-1cf770da01120c0a84d53c4dddc57a62d1ca4f96.tar.gz kernel-1cf770da01120c0a84d53c4dddc57a62d1ca4f96.zip | |
net: fib_rules: Add error_free label in fib_delrule().
We will hold RTNL just before calling fib_nl2rule_rtnl() in
fib_delrule() and release it before kfree(nlrule).
Let's add a new rule to make the following change cleaner.
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Tested-by: Ido Schimmel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/ncdevmem.c')
0 files changed, 0 insertions, 0 deletions
