naccyde / rpms / iproute

Forked from rpms/iproute 9 months ago
Clone

Blame SOURCES/0140-tc-flower-Fix-parsing-ip-address.patch

4aca6e
From 08968eb2bfd306b4150e8531f799adee6a11966c Mon Sep 17 00:00:00 2001
4aca6e
From: Phil Sutter <psutter@redhat.com>
4aca6e
Date: Fri, 17 Mar 2017 13:25:13 +0100
4aca6e
Subject: [PATCH] tc: flower: Fix parsing ip address
4aca6e
4aca6e
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1422629
4aca6e
Upstream Status: iproute2.git commit 164a9ff401e58
4aca6e
4aca6e
commit 164a9ff401e58ff9c0b90088a3aa96216e1d6e8a
4aca6e
Author: Roi Dayan <roid@mellanox.com>
4aca6e
Date:   Wed Feb 22 16:05:01 2017 +0200
4aca6e
4aca6e
    tc: flower: Fix parsing ip address
4aca6e
4aca6e
    Fix order of arguments when passed to __flower_parse_ip_addr.
4aca6e
4aca6e
    Fixes: ("f888f4e20534 tc: flower: Support matching ARP")
4aca6e
    Signed-off-by: Roi Dayan <roid@mellanox.com>
4aca6e
    Reviewed-by: Paul Blakey <paulb@mellanox.com>
4aca6e
    Reviewed-by: Simon Horman <simon.horman@netronome.com>
4aca6e
---
4aca6e
 tc/f_flower.c | 4 ++--
4aca6e
 1 file changed, 2 insertions(+), 2 deletions(-)
4aca6e
4aca6e
diff --git a/tc/f_flower.c b/tc/f_flower.c
4aca6e
index e9d3a96..17e9b3a 100644
4aca6e
--- a/tc/f_flower.c
4aca6e
+++ b/tc/f_flower.c
4aca6e
@@ -289,8 +289,8 @@ static int flower_parse_ip_addr(char *str, __be16 eth_type,
4aca6e
 		return -1;
4aca6e
 	}
4aca6e
 
4aca6e
-	return __flower_parse_ip_addr(str, family, addr4_type, addr6_type,
4aca6e
-				      mask4_type, mask6_type, n);
4aca6e
+	return __flower_parse_ip_addr(str, family, addr4_type, mask4_type,
4aca6e
+				      addr6_type, mask6_type, n);
4aca6e
 }
4aca6e
 
4aca6e
 static bool flower_eth_type_arp(__be16 eth_type)
4aca6e
-- 
4aca6e
1.8.3.1
4aca6e