netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-2.6] ipv4: remove unused field in struct flowi (include/net/flow.h).
@ 2008-08-05  8:14 Rami Rosen
  2008-08-05  8:20 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2008-08-05  8:14 UTC (permalink / raw)
  To: davem, netdev

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

Hi,
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.


Regards,
Rami Rosen


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

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 272 bytes --]

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;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-2.6] ipv4: remove unused field in struct flowi (include/net/flow.h).
  2008-08-05  8:14 [PATCH net-2.6] ipv4: remove unused field in struct flowi (include/net/flow.h) Rami Rosen
@ 2008-08-05  8:20 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-08-05  8:20 UTC (permalink / raw)
  To: ramirose; +Cc: netdev

From: "Rami Rosen" <ramirose@gmail.com>
Date: Tue, 5 Aug 2008 11:14:02 +0300

> 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.
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Applied, thanks a lot Rami.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-05  8:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-05  8:14 [PATCH net-2.6] ipv4: remove unused field in struct flowi (include/net/flow.h) Rami Rosen
2008-08-05  8:20 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).