mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
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>
This commit is contained in:
parent
a574420ff4
commit
6067804047
11 changed files with 35 additions and 35 deletions
|
@ -129,7 +129,7 @@ int eth_rebuild_header(struct sk_buff *skb)
|
|||
|
||||
switch (eth->h_proto) {
|
||||
#ifdef CONFIG_INET
|
||||
case __constant_htons(ETH_P_IP):
|
||||
case htons(ETH_P_IP):
|
||||
return arp_find(eth->h_dest, skb);
|
||||
#endif
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue