mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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 <rlane@bigswitch.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
This commit is contained in:
parent
cb7c5bdffb
commit
a15ff76c95
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue