| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH]: fixed typo of reassembly.c |
| From: | Yasuyuki Kozakai <yasuyuki.kozakai@xxxxxxxxxxxxx> |
| Date: | Thu, 30 Sep 2004 19:23:26 +0900 (JST) |
| Cc: | usagi-core@xxxxxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi,
This patch fixes byte ordering. Please apply this.
Signed-off-by: Yasuyuki KOZAKAI <yasuyuki.kozakai@xxxxxxxxxxxxx>
Regards,
diff -X dontdiff -Nurp linux-2.6.9-rc3/net/ipv6/reassembly.c
linux-2.6.9-rc3-fixed/net/ipv6/reassembly.c
--- linux-2.6.9-rc3/net/ipv6/reassembly.c 2004-09-30 18:45:24.014851224
+0900
+++ linux-2.6.9-rc3-fixed/net/ipv6/reassembly.c 2004-09-30 18:51:58.019953344
+0900
@@ -665,7 +665,7 @@ static int ip6_frag_reasm(struct frag_qu
head->next = NULL;
head->dev = dev;
head->stamp = fq->stamp;
- head->nh.ipv6h->payload_len = ntohs(payload_len);
+ head->nh.ipv6h->payload_len = htons(payload_len);
*skb_in = head;
-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@xxxxxxxxxxxxx>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Improve behaviour of Netlink Sockets, James Chapman |
|---|---|
| Next by Date: | [PATCH] netfilter6 ip6_packet_match doesn't properly skip exthdrs, Olaf Kirch |
| Previous by Thread: | [PATCH] [NET] NEIGHBOUR: hold refcnt of net_device from proxy neighbor entries., YOSHIFUJI Hideaki / 吉藤英明 |
| Next by Thread: | [PATCH] netfilter6 ip6_packet_match doesn't properly skip exthdrs, Olaf Kirch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |