]> err.no Git - linux-2.6/commitdiff
[ISDN]: Do not validate ISDN net device address prior to interface-up
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 14 Apr 2008 05:44:20 +0000 (22:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 05:44:20 +0000 (22:44 -0700)
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@tiscali.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/i4l/isdn_net.c

index ced83c202cacefe6b0b79b990dcbaa47b2448a79..ef1a300068dcd88fd4ef6058c2ca82bb194587c8 100644 (file)
@@ -2010,6 +2010,7 @@ isdn_net_init(struct net_device *ndev)
        ndev->flags = IFF_NOARP|IFF_POINTOPOINT;
        ndev->type = ARPHRD_ETHER;
        ndev->addr_len = ETH_ALEN;
+       ndev->validate_addr = NULL;
 
        /* for clients with MPPP maybe higher values better */
        ndev->tx_queue_len = 30;