[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4802F24B.7060104@trash.net>
Date: Mon, 14 Apr 2008 07:57:31 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Jarek Poplawski <jarkao2@...il.com>
CC: David Miller <davem@...emloft.net>, pebolle@...cali.nl,
netdev@...r.kernel.org, isdn4linux@...tserv.isdn4linux.de,
jgarzik@...hat.com
Subject: Re: [PATCH] [NET] [ISDN]: Do not validate ISDN net device address
prior to interface-up
Jarek Poplawski wrote:
> On 14-04-2008 07:44, David Miller wrote:
>
>> From: Paul Bolle <pebolle@...cali.nl>
>> Date: Thu, 10 Apr 2008 17:00:17 +0200
>>
>>
>>> From: Paul Bolle <pebolle@...cali.nl>
>>>
>>> Commit bada339 (Validate device addr prior to interface-up) caused a regression
>>> in the ISDN network code, see: http://bugzilla.kernel.org/show_bug.cgi?id=9923
>>> The trivial fix is to remove the pointer to eth_validate_addr() in the
>>> net_device struct in isdn_net_init().
>>>
>>> Signed-off-by: Paul Bolle <pebolle@...cali.nl>
>>>
>> Applied, thanks a lot Paul.
>>
>
> Maybe I missed Patrick point, but it seems this patch isn't good:
> it omits address validation hiding possible problems.
The ISDN device's address is computed from the IP addresses
in ->open(), so there is nothing to validate at the time
eth_validate_addr() is 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