[ipxe-devel] [PATCH 2/2] Sync VLAN irq operation with trunk irq opertaion.

Michael Brown mcb30 at ipxe.org
Wed Mar 5 13:21:16 UTC 2014


On 05/03/14 12:44, Wissam Shoukair wrote:
>   	netdev_init ( netdev, &vlan_operations );
> +	/* Nullify irq function if the trunk doesnt support interrupts */
> +	if ( ! netdev_irq_supported( trunk ) ) {
> +		netdev->op->irq = NULL;
> +	}

That will overwrite the .irq field within the static vlan_operations 
structure, thereby disabling IRQs for all possible VLAN devices, not 
just this one.

Michael



More information about the ipxe-devel mailing list