diff options
author | David S. Miller <davem@davemloft.net> | 2013-03-20 12:46:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-20 12:46:26 -0400 |
commit | 61816596d1c9026d0ecb20c44f90452c41596ffe (patch) | |
tree | 3027ed6dc62f71e14b9d525405747fa0eb8f074d /net/openvswitch/datapath.c | |
parent | 23a9072e3af0d9538e25837fb2b56bb94e4a8e67 (diff) | |
parent | da2191e31409d1058dcbed44e8f53e39a40e86b3 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pull in the 'net' tree to get Daniel Borkmann's flow dissector
infrastructure change.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/datapath.c')
-rw-r--r-- | net/openvswitch/datapath.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index 43b4ac1bcd10..d61cd9971808 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, | |||
395 | 395 | ||
396 | skb_copy_and_csum_dev(skb, nla_data(nla)); | 396 | skb_copy_and_csum_dev(skb, nla_data(nla)); |
397 | 397 | ||
398 | genlmsg_end(user_skb, upcall); | ||
398 | err = genlmsg_unicast(net, user_skb, upcall_info->portid); | 399 | err = genlmsg_unicast(net, user_skb, upcall_info->portid); |
399 | 400 | ||
400 | out: | 401 | out: |
@@ -1691,6 +1692,7 @@ static int ovs_vport_cmd_new(struct sk_buff *skb, struct genl_info *info) | |||
1691 | if (IS_ERR(vport)) | 1692 | if (IS_ERR(vport)) |
1692 | goto exit_unlock; | 1693 | goto exit_unlock; |
1693 | 1694 | ||
1695 | err = 0; | ||
1694 | reply = ovs_vport_cmd_build_info(vport, info->snd_portid, info->snd_seq, | 1696 | reply = ovs_vport_cmd_build_info(vport, info->snd_portid, info->snd_seq, |
1695 | OVS_VPORT_CMD_NEW); | 1697 | OVS_VPORT_CMD_NEW); |
1696 | if (IS_ERR(reply)) { | 1698 | if (IS_ERR(reply)) { |
@@ -1772,6 +1774,7 @@ static int ovs_vport_cmd_del(struct sk_buff *skb, struct genl_info *info) | |||
1772 | if (IS_ERR(reply)) | 1774 | if (IS_ERR(reply)) |
1773 | goto exit_unlock; | 1775 | goto exit_unlock; |
1774 | 1776 | ||
1777 | err = 0; | ||
1775 | ovs_dp_detach_port(vport); | 1778 | ovs_dp_detach_port(vport); |
1776 | 1779 | ||
1777 | genl_notify(reply, genl_info_net(info), info->snd_portid, | 1780 | genl_notify(reply, genl_info_net(info), info->snd_portid, |