git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a8eebd4
)
datapath: Free skb dropped by lisp_tnl_send().
author
Jarno Rajahalme
<jarno.rajahalme@nsn.com>
Tue, 7 May 2013 17:52:03 +0000
(20:52 +0300)
committer
Pravin B Shelar
<pshelar@nicira.com>
Tue, 7 May 2013 18:43:38 +0000
(11:43 -0700)
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>
datapath/vport-lisp.c
patch
|
blob
|
history
diff --git
a/datapath/vport-lisp.c
b/datapath/vport-lisp.c
index
ca2b441
..
3d0a315
100644
(file)
--- a/
datapath/vport-lisp.c
+++ b/
datapath/vport-lisp.c
@@
-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:
LISP_HLEN, lisp_build_header);
return tnl_len > 0 ? tnl_len + network_offset : tnl_len;
default:
+ kfree_skb(skb);
return 0;
}
}
return 0;
}
}