X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Factions.c;h=5e16143ca402f7da0ee8fc18ee5eb16c3b7598e6;hb=23cad98c869ef5b7682f68c41db6403c1e855f5e;hp=299c16ac261640bcd06aa40f887e4af6625e998f;hpb=871dfe078f3b4d03de36b6c7d9e5c91b7104cfa8;p=openvswitch diff --git a/datapath/actions.c b/datapath/actions.c index 299c16ac..5e16143c 100644 --- a/datapath/actions.c +++ b/datapath/actions.c @@ -137,7 +137,7 @@ static struct sk_buff *modify_vlan_tci(struct datapath *dp, struct sk_buff *skb, * groups configured). */ if (skb_is_gso(skb)) { const struct nlattr *actions_left; - u32 actions_len_left; + int actions_len_left; struct sk_buff *segs; segs = skb_gso_segment(skb, 0); @@ -150,7 +150,6 @@ static struct sk_buff *modify_vlan_tci(struct datapath *dp, struct sk_buff *skb, do { struct sk_buff *nskb = segs->next; - int err; segs->next = NULL; @@ -361,7 +360,7 @@ error: kfree_skb(skb); } -static int output_control(struct datapath *dp, struct sk_buff *skb, u32 arg) +static int output_control(struct datapath *dp, struct sk_buff *skb, u64 arg) { skb = skb_clone(skb, GFP_ATOMIC); if (!skb)