[NET] SCHED: Use htons() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8f05ce91c8
commit
b6d9bcb069
@@ -160,7 +160,7 @@ restart:
|
||||
dst = &nhptr->daddr;
|
||||
protocol = nhptr->protocol;
|
||||
xprt = ((u8*)nhptr) + (nhptr->ihl<<2);
|
||||
if (nhptr->frag_off&__constant_htons(IP_MF|IP_OFFSET))
|
||||
if (nhptr->frag_off & htons(IP_MF|IP_OFFSET))
|
||||
return -1;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user