[tproxy] [ramirose at gmail.com: [PATCH net-2.6] ipv4: remove unused field in struct flowi (include/net/flow.h).]

KOVACS Krisztian hidden at sch.bme.hu
Tue Aug 5 11:42:35 CEST 2008


This got applied by DaveM. Unfortunately we use this field so we'll have
to add this back in.

----- Forwarded message from Rami Rosen <ramirose at gmail.com> -----

From: Rami Rosen <ramirose at gmail.com>
Subject: [PATCH net-2.6] ipv4: remove unused field in struct flowi
Date: Tue, 05 Aug 2008 11:14:02 +0300
To: davem at davemloft.net, netdev at vger.kernel.org

This patch removes an unused field (flags) from struct flowi;
it seems that this "flags" field was used once in the past for
multipath routing with
FLOWI_FLAG_MULTIPATHOLDROUTE flag  (which does no longer exist);
however, the "flags"
field of struct flowi is not used anymore.

Rami Rosen

Signed-off-by: Rami Rosen <ramirose at gmail.com>

diff --git a/include/net/flow.h b/include/net/flow.h
index ad16e00..228b247 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -47,7 +47,6 @@ struct flowi {
 #define fl4_scope	nl_u.ip4_u.scope
 	__u8	proto;
-	__u8	flags;
 	union {
 		struct {
 			__be16	sport;

----- End forwarded message -----

KOVACS Krisztian

More information about the tproxy mailing list