projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb7c5bd
)
openvswitch: Call genlmsg_end in queue_userspace_packet
author
Rich Lane
<rlane@bigswitch.com>
Fri, 15 Feb 2013 19:07:43 +0000
(11:07 -0800)
committer
Jesse Gross
<jesse@nicira.com>
Sat, 23 Feb 2013 01:02:11 +0000
(17:02 -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>
net/openvswitch/datapath.c
patch
|
blob
|
history
diff --git
a/net/openvswitch/datapath.c
b/net/openvswitch/datapath.c
index a2cd3e6d03a20c6bf30b96d8b06412821c43a489..cae1062f94ba28111e8b17ec2356e4dd0839efda 100644
(file)
--- a/
net/openvswitch/datapath.c
+++ b/
net/openvswitch/datapath.c
@@
-395,6
+395,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: