diff options
author | Rich Lane <rlane@bigswitch.com> | 2013-02-15 11:07:43 -0800 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-02-22 17:02:11 -0800 |
commit | a15ff76c955d17cf58313097e4a24124da022b1d (patch) | |
tree | 4b15c4d1a361be864192d85118607fcc244ce7c5 /net/openvswitch | |
parent | cb7c5bdffb727a3d4dea5247d9d1d52238b01d90 (diff) | |
download | linux-3.10-a15ff76c955d17cf58313097e4a24124da022b1d.tar.gz linux-3.10-a15ff76c955d17cf58313097e4a24124da022b1d.tar.bz2 linux-3.10-a15ff76c955d17cf58313097e4a24124da022b1d.zip |
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>
Diffstat (limited to 'net/openvswitch')
-rw-r--r-- | net/openvswitch/datapath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index a2cd3e6d03a..cae1062f94b 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: |