aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2020-09-28 11:31:03 -0700
committerDavid S. Miller <[email protected]>2020-09-28 12:58:45 -0700
commit1aad8049909a6d3379175ef2824a68ac35c0b564 (patch)
treec24b33b8d98025e80da071fb8ff2cb90db5df0f8 /lib/test_overflow.c
parentf2f3729fb65c5c2e6db234e6316b71a7bdc4b30b (diff)
net_sched: remove a redundant goto chain check
All TC actions call tcf_action_check_ctrlact() to validate goto chain, so this check in tcf_action_init_1() is actually redundant. Remove it to save troubles of leaking memory. Fixes: e49d8c22f126 ("net_sched: defer tcf_idr_insert() in tcf_action_init_1()") Reported-by: Vlad Buslov <[email protected]> Suggested-by: Davide Caratti <[email protected]> Cc: Jamal Hadi Salim <[email protected]> Cc: Jiri Pirko <[email protected]> Signed-off-by: Cong Wang <[email protected]> Reviewed-by: Davide Caratti <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions