Without genlmsg_end the upcall message ends (according to nlmsg_len) after the struct ovs_header.
Signed-off-by: Rich Lane <rl...@bigswitch.com> --- datapath/datapath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/datapath/datapath.c b/datapath/datapath.c index 87c96ae..5d18def 100644 --- 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: -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev