|  | @@ -676,11 +676,11 @@ int register_netdev ( struct net_device *netdev ) {
 | 
		
	
		
			
			| 676 | 676 |  	}
 | 
		
	
		
			
			| 677 | 677 |  
 | 
		
	
		
			
			| 678 | 678 |  	/* Record device index and create device name */
 | 
		
	
		
			
			| 679 |  | -	netdev->index = netdev_index++;
 | 
		
	
		
			
			| 680 | 679 |  	if ( netdev->name[0] == '\0' ) {
 | 
		
	
		
			
			| 681 | 680 |  		snprintf ( netdev->name, sizeof ( netdev->name ), "net%d",
 | 
		
	
		
			
			| 682 |  | -			   netdev->index );
 | 
		
	
		
			
			|  | 681 | +			   netdev_index );
 | 
		
	
		
			
			| 683 | 682 |  	}
 | 
		
	
		
			
			|  | 683 | +	netdev->index = ++netdev_index;
 | 
		
	
		
			
			| 684 | 684 |  
 | 
		
	
		
			
			| 685 | 685 |  	/* Use least significant bits of the link-layer address to
 | 
		
	
		
			
			| 686 | 686 |  	 * improve the randomness of the (non-cryptographic) random
 |