lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 29 May 2014 15:28:09 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	kumaran.4353@...il.com
Cc:	steve.glendinning@...well.net, netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] driver: net: smsc911x: set NOCARRIER flag in
 driver initialization

From: Balakumaran Kannan <kumaran.4353@...il.com>
Date: Sun, 25 May 2014 00:24:46 +0530

> @@ -2525,6 +2525,8 @@ static int smsc911x_drv_probe(struct platform_device *pdev)
>  
>  	netdev_info(dev, "MAC Address: %pM\n", dev->dev_addr);
>  
> +	netif_carrier_off(dev);
> +
>  	return 0;
>  

You should do this before the network device is registered.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ