diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-09-21 01:20:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-21 01:20:49 -0400 |
commit | 6067804047b64dde89f4f133fc7eba48ee44107d (patch) | |
tree | abe87787c3ad2aee82e576c7d4128e29bb296ac0 /net/8021q/vlan_dev.c | |
parent | a574420ff46cff0245e6b0fce2e961aa2717743d (diff) |
net: Use hton[sl]() instead of __constant_hton[sl]() where applicable
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan_dev.c')
-rw-r--r-- | net/8021q/vlan_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index 97688cdb5501..8883e9c8a223 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c | |||
@@ -48,7 +48,7 @@ static int vlan_dev_rebuild_header(struct sk_buff *skb) | |||
48 | 48 | ||
49 | switch (veth->h_vlan_encapsulated_proto) { | 49 | switch (veth->h_vlan_encapsulated_proto) { |
50 | #ifdef CONFIG_INET | 50 | #ifdef CONFIG_INET |
51 | case __constant_htons(ETH_P_IP): | 51 | case htons(ETH_P_IP): |
52 | 52 | ||
53 | /* TODO: Confirm this will work with VLAN headers... */ | 53 | /* TODO: Confirm this will work with VLAN headers... */ |
54 | return arp_find(veth->h_dest, skb); | 54 | return arp_find(veth->h_dest, skb); |