aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorPieter Jansen van Vuuren <[email protected]>2019-05-08 15:56:07 -0700
committerDavid S. Miller <[email protected]>2019-05-08 16:34:58 -0700
commit5f05836831f6142081e216f27e1ae8f4b26d3585 (patch)
tree96b9705380233c6d606017466de3353157c87328 /net/lapb/lapb_timer.c
parent1e966763e256393965c78aa09b89027fac6b8bf1 (diff)
net/sched: avoid double free on matchall reoffload
Avoid freeing cls_mall.rule twice when failing to setup flow_action offload used in the hardware intermediate representation. This is achieved by returning 0 when the setup fails but the skip software flag has not been set. Fixes: f00cbf196814 ("net/sched: use the hardware intermediate representation for matchall") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Pieter Jansen van Vuuren <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions