projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba83e4
)
No need to test argument of kfree_skb() for non-null.
author
Ben Pfaff
<blp@nicira.com>
Thu, 13 Nov 2008 18:26:15 +0000
(10:26 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 13 Nov 2008 20:45:38 +0000
(12:45 -0800)
datapath/datapath.c
patch
|
blob
|
history
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index 2a8e5a9643f57bdedb4c2442cb9c4e8f59cdffaa..bca1bdc50e4e076f9d3b23bab20d95f12552e284 100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-1180,8
+1180,7
@@
static int dp_genl_query(struct sk_buff *skb, struct genl_info *info)
}
err:
nla_put_failure:
- if (ans_skb)
- kfree_skb(ans_skb);
+ kfree_skb(ans_skb);
rcu_read_unlock();
return err;
}