projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openvswitch: Fix memory leak.
[firefly-linux-kernel-4.4.55.git]
/
net
/
openvswitch
/
actions.c
diff --git
a/net/openvswitch/actions.c
b/net/openvswitch/actions.c
index 006886dbee36b075fc7054ec1ddc87781a75d739..00e447a17f64984faf33a8852e628aa54ad9ef20 100644
(file)
--- a/
net/openvswitch/actions.c
+++ b/
net/openvswitch/actions.c
@@
-722,8
+722,6
@@
static int do_execute_actions(struct datapath *dp, struct sk_buff *skb,
case OVS_ACTION_ATTR_SAMPLE:
err = sample(dp, skb, key, a);
- if (unlikely(err)) /* skb already freed. */
- return err;
break;
}