[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080829.133345.248034879.davem@davemloft.net>
Date: Fri, 29 Aug 2008 13:33:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: leitao@...ux.vnet.ibm.com
Cc: bhutchings@...arflare.com, netdev@...r.kernel.org,
rafaello@...ibm.com
Subject: Re: [PATCH 1/1 net-2.6] Re-enable IP when MTU > 68
From: Breno Leitao <leitao@...ux.vnet.ibm.com>
Date: Fri, 29 Aug 2008 12:23:03 -0300
> Ben,
>
> Ben Hutchings wrote:
> > Should be >= to match the other tests. And it would really be cleaner to
> > use something like
> >
> > static inline bool inetdev_valid_mtu(unsigned mtu)
> > {
> > return mtu >= 68;
> > }
> Where is the best place to insert this function ?
Right above the two places it would be called :)
--
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