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:
31f4bd4
)
datapath: Call genlmsg_end in queue_userspace_packet
author
Rich Lane
<rlane@bigswitch.com>
Fri, 8 Feb 2013 23:29:56 +0000
(15:29 -0800)
committer
Jesse Gross
<jesse@nicira.com>
Fri, 15 Feb 2013 18:55:26 +0000
(10:55 -0800)
Without genlmsg_end the upcall message ends (according to nlmsg_len) after the
struct ovs_header.
Signed-off-by: Rich Lane <rlane@bigswitch.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
patch
|
blob
|
history
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index
87c96ae
..
5d18def
100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-399,6
+399,7
@@
static int queue_userspace_packet(struct net *net, int dp_ifindex,
skb_copy_and_csum_dev(skb, nla_data(nla));
+ genlmsg_end(user_skb, upcall);
err = genlmsg_unicast(net, user_skb, upcall_info->portid);
out: