projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4412ec4
)
[NET] NETFILTER: Use htonl() where appropriate.
author
YOSHIFUJI Hideaki
<
[email protected]
>
Wed, 7 Mar 2007 05:21:00 +0000
(14:21 +0900)
committer
David S. Miller
<
[email protected]
>
Thu, 26 Apr 2007 05:23:59 +0000
(22:23 -0700)
Signed-off-by: YOSHIFUJI Hideaki <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/netfilter/nf_conntrack_proto_tcp.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_conntrack_proto_tcp.c
b/net/netfilter/nf_conntrack_proto_tcp.c
index 153d6619993ab6795f56d6ac63f7b66ebc3da741..9e496319f6061ae234b36be58782f3d955f5f3d5 100644
(file)
--- a/
net/netfilter/nf_conntrack_proto_tcp.c
+++ b/
net/netfilter/nf_conntrack_proto_tcp.c
@@
-470,11
+470,10
@@
static void tcp_sack(const struct sk_buff *skb, unsigned int dataoff,
/* Fast path for timestamp-only option */
if (length == TCPOLEN_TSTAMP_ALIGNED*4
- && *(__be32 *)ptr ==
- __constant_htonl((TCPOPT_NOP << 24)
- | (TCPOPT_NOP << 16)
- | (TCPOPT_TIMESTAMP << 8)
- | TCPOLEN_TIMESTAMP))
+ && *(__be32 *)ptr == htonl((TCPOPT_NOP << 24)
+ | (TCPOPT_NOP << 16)
+ | (TCPOPT_TIMESTAMP << 8)
+ | TCPOLEN_TIMESTAMP))
return;
while (length > 0) {