2008-02-07 15:58:26

by Rami Rosen

[permalink] [raw]
Subject: [PATCH] [IPV6] Minor clenup: remove two unused definitions in net/ip6_route.h

Hi,
Remove IP6_RT_PRIO_FW and IP6_RT_FLOW_MASK definitions in
include/net/ip6_route.h, as they are not used in the kernel.

Regards,
Rami Rosen


Signed-off-by: Rami Rosen <[email protected]>


Attachments:
(No filename) (193.00 B)
patch.txt (418.00 B)
Download all attachments

2008-02-08 02:10:40

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] [IPV6] Minor clenup: remove two unused definitions in net/ip6_route.h

From: "Rami Rosen" <[email protected]>
Date: Thu, 7 Feb 2008 17:58:07 +0200

> Remove IP6_RT_PRIO_FW and IP6_RT_FLOW_MASK definitions in
> include/net/ip6_route.h, as they are not used in the kernel.
>
> Signed-off-by: Rami Rosen <[email protected]>

Applied.

If you grep for "fc_metric" in the tree you'll see some
explicit uses of the magic constant "1024" which probably
should be replaced with IP6_RT_PRIO_USER. If you could
verify that and cook up a patch if correct, I'd appreciate
it.

Thanks.