summaryrefslogtreecommitdiffstats
path: root/net/x25
diff options
context:
space:
mode:
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>2019-05-09 00:56:07 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-09 01:34:58 +0200
commit5f05836831f6142081e216f27e1ae8f4b26d3585 (patch)
tree96b9705380233c6d606017466de3353157c87328 /net/x25
parentnfp: reintroduce ndo_get_port_parent_id for representor ports (diff)
downloadlinux-5f05836831f6142081e216f27e1ae8f4b26d3585.tar.xz
linux-5f05836831f6142081e216f27e1ae8f4b26d3585.zip
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 <dan.carpenter@oracle.com> Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions