From: Ben Pfaff Date: Tue, 28 Dec 2010 21:28:31 +0000 (-0800) Subject: datapath: Fix 32-bit truncation of argument to ODPAT_OUTPUT_CONTROL. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282cf6319fcd942e5f22a29cc50c2a0a1cd72615;p=openvswitch datapath: Fix 32-bit truncation of argument to ODPAT_OUTPUT_CONTROL. Signed-off-by: Ben Pfaff Acked-by: Jesse Gross --- diff --git a/datapath/actions.c b/datapath/actions.c index 639b8707..5e16143c 100644 --- a/datapath/actions.c +++ b/datapath/actions.c @@ -360,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)