2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-29 13:27:59 +00:00

datapath: Free skb dropped by lisp_tnl_send().

vport->send functions must free the skbs they themselves report as
dropped (return 0).

Signed-off-by: Jarno Rajahalme <jarno.rajahalme@nsn.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
This commit is contained in:
Jarno Rajahalme 2013-05-07 20:52:03 +03:00 committed by Pravin B Shelar
parent a8eebd4832
commit fe7744e84b

View File

@ -377,6 +377,7 @@ static int lisp_tnl_send(struct vport *vport, struct sk_buff *skb)
LISP_HLEN, lisp_build_header);
return tnl_len > 0 ? tnl_len + network_offset : tnl_len;
default:
kfree_skb(skb);
return 0;
}
}