Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78461
b: refs/heads/master
c: 5661df7
h: refs/heads/master
i:
  78459: 68871cc
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Jan 28, 2008
1 parent 87c50e4 commit 0df2d2d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e39430ae33dfd9b0f47e5a89028352382c3dd34
refs/heads/master: 5661df7b6cc399cabd1ed6b6a929a0445b862c10
2 changes: 1 addition & 1 deletion trunk/net/ipv4/ipvs/ip_vs_proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ ip_vs_tcpudp_debug_packet(struct ip_vs_protocol *pp,
ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph);
if (ih == NULL)
sprintf(buf, "%s TRUNCATED", pp->name);
else if (ih->frag_off & __constant_htons(IP_OFFSET))
else if (ih->frag_off & htons(IP_OFFSET))
sprintf(buf, "%s %u.%u.%u.%u->%u.%u.%u.%u frag",
pp->name, NIPQUAD(ih->saddr),
NIPQUAD(ih->daddr));
Expand Down
16 changes: 8 additions & 8 deletions trunk/net/ipv4/ipvs/ip_vs_proto_esp.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ esp_conn_in_get(const struct sk_buff *skb,
if (likely(!inverse)) {
cp = ip_vs_conn_in_get(IPPROTO_UDP,
iph->saddr,
__constant_htons(PORT_ISAKMP),
htons(PORT_ISAKMP),
iph->daddr,
__constant_htons(PORT_ISAKMP));
htons(PORT_ISAKMP));
} else {
cp = ip_vs_conn_in_get(IPPROTO_UDP,
iph->daddr,
__constant_htons(PORT_ISAKMP),
htons(PORT_ISAKMP),
iph->saddr,
__constant_htons(PORT_ISAKMP));
htons(PORT_ISAKMP));
}

if (!cp) {
Expand Down Expand Up @@ -89,15 +89,15 @@ esp_conn_out_get(const struct sk_buff *skb, struct ip_vs_protocol *pp,
if (likely(!inverse)) {
cp = ip_vs_conn_out_get(IPPROTO_UDP,
iph->saddr,
__constant_htons(PORT_ISAKMP),
htons(PORT_ISAKMP),
iph->daddr,
__constant_htons(PORT_ISAKMP));
htons(PORT_ISAKMP));
} else {
cp = ip_vs_conn_out_get(IPPROTO_UDP,
iph->daddr,
__constant_htons(PORT_ISAKMP),
htons(PORT_ISAKMP),
iph->saddr,
__constant_htons(PORT_ISAKMP));
htons(PORT_ISAKMP));
}

if (!cp) {
Expand Down

0 comments on commit 0df2d2d

Please sign in to comment.