[lkml]   [2006]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFD][PATCH] typhoon and core sample for folding away VLAN stuff
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 <>
Candela Technologies Inc

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-04-12 22:14    [from the cache]
©2003-2011 Jasper Spaans