From: Rich Lane Date: Fri, 15 Feb 2013 19:07:43 +0000 (-0800) Subject: openvswitch: Call genlmsg_end in queue_userspace_packet X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a15ff76c955d17cf58313097e4a24124da022b1d;p=linux-beck.git openvswitch: Call genlmsg_end in queue_userspace_packet Without genlmsg_end the upcall message ends (according to nlmsg_len) after the struct ovs_header. Signed-off-by: Rich Lane Signed-off-by: Jesse Gross --- diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index a2cd3e6d03a2..cae1062f94ba 100644 --- 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: