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:
parent
a8eebd4832
commit
fe7744e84b
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user