Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a15ff76c authored by Rich Lane's avatar Rich Lane Committed by Jesse Gross
Browse files

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: default avatarRich Lane <rlane@bigswitch.com>
Signed-off-by: default avatarJesse Gross <jesse@nicira.com>
parent cb7c5bdf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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: