Alaa Hleihel eda814b97d net/sched: act_ct: Fix skb double-free in tcf_ct_handle_fragments() error flow
tcf_ct_handle_fragments() shouldn't free the skb when ip_defrag() call
fails. Otherwise, we will cause a double-free bug.
In such cases, just return the error to the caller.

Fixes: b57dc7c13ea9 ("net/sched: Introduce action ct")
Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-20 16:39:31 -07:00
..
2020-06-20 21:29:27 -07:00
2020-03-30 13:45:04 -07:00
2019-11-05 14:03:11 -08:00
2020-02-01 12:25:06 -08:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00