netdev
[Top] [All Lists]

Re: [PATCH] more improvement to dev_alloc_name -- strnchr

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] more improvement to dev_alloc_name -- strnchr
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 19 Jan 2004 21:25:37 -0800
Cc: ap@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20040119113204.5913a8d6.shemminger@xxxxxxxx>
References: <1074302619.40088e9bd44a6@xxxxxxxxxxxxxxx> <20040119113204.5913a8d6.shemminger@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 19 Jan 2004 11:32:04 -0800
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> Okay, this patch avoids the loop if no wildcarding present, and keeps
> the same behaviour as original.  It adds the string function strnchr
> to avoid searching past the maximum ifname size to find the format character.

I'm deferring this until the next 2.6.x-pre starts up as well.
Please resend at that time.

Thanks Stephen.

<Prev in Thread] Current Thread [Next in Thread>