Skip to content

Commit 09a8f03

Browse files
committed
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/openvswitch
Jesse Gross says: ==================== Three bug fixes that are fairly small either way but resolve obviously incorrect code. For net/3.11. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 2fdac01 + 36bf5cc commit 09a8f03

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

net/openvswitch/actions.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,7 @@ int ovs_execute_actions(struct datapath *dp, struct sk_buff *skb)
535535
{
536536
struct sw_flow_actions *acts = rcu_dereference(OVS_CB(skb)->flow->sf_acts);
537537

538+
OVS_CB(skb)->tun_key = NULL;
538539
return do_execute_actions(dp, skb, acts->actions,
539540
acts->actions_len, false);
540541
}

net/openvswitch/datapath.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,9 +2076,6 @@ static int ovs_vport_cmd_set(struct sk_buff *skb, struct genl_info *info)
20762076
ovs_notify(reply, info, &ovs_dp_vport_multicast_group);
20772077
return 0;
20782078

2079-
rtnl_unlock();
2080-
return 0;
2081-
20822079
exit_free:
20832080
kfree_skb(reply);
20842081
exit_unlock:

net/openvswitch/flow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ static struct flex_array *alloc_buckets(unsigned int n_buckets)
240240
struct flex_array *buckets;
241241
int i, err;
242242

243-
buckets = flex_array_alloc(sizeof(struct hlist_head *),
243+
buckets = flex_array_alloc(sizeof(struct hlist_head),
244244
n_buckets, GFP_KERNEL);
245245
if (!buckets)
246246
return NULL;

0 commit comments

Comments
 (0)