[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101019112234.GB12005@stratus.com>
Date: Tue, 19 Oct 2010 07:22:34 -0400
From: Bandan Das <bandan.das@...atus.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] bridge: make br_parse_ip_options static
On 0, Stephen Hemminger <shemminger@...tta.com> wrote:
>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
>
> --- a/net/bridge/br_netfilter.c 2010-10-18 17:01:36.903364885 -0700
> +++ b/net/bridge/br_netfilter.c 2010-10-18 17:01:48.106569141 -0700
> @@ -213,7 +213,7 @@ static inline void nf_bridge_update_prot
> * expected format
> */
>
> -int br_parse_ip_options(struct sk_buff *skb)
> +static int br_parse_ip_options(struct sk_buff *skb)
> {
> struct ip_options *opt;
> struct iphdr *iph;
>
My main motivation behind not making this static was that
there would be possibly other places in the bridge code
(besides br_netfilter.c) where we enter the IP stack and might
want to call this. Not sure if it's indeed the case though..
--
Bandan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists