Subject: Re: [RFD][PATCH] typhoon and core sample for folding away VLAN stuff

From: Ben Greear <[email-masked]>
Date: Wed, 12 Apr 2006 13:10:06 -0700

What is the reasoning for this change?  Is the compiler
able to optomize the right-hand-side to a constant with your
change in place?

> -	if (veth->h_vlan_proto != __constant_htons(ETH_P_8021Q)) {
> +	if (veth->h_vlan_proto != htons(ETH_P_8021Q)) {
>  		return -EINVAL;
>  	}

-- 
Ben Greear <[email-masked]>
Candela Technologies Inc  http://www.candelatech.com