lkml.org 
[lkml]   [1999]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: predictable IP ID
Date
Hello!

> What do you think about the patch?

Please, add to it the following patchlet. It was my fault.

--- ../T/linux/net/ipv4/raw.c Sat Oct 2 23:04:19 1999
+++ linux/net/ipv4/raw.c Sat Oct 2 13:04:25 1999
@@ -373,7 +373,6 @@
}

rfh.saddr = ipc.addr;
- rfh.dst = &rt->u.dst;
ipc.addr = daddr;

if (!ipc.opt)
@@ -418,6 +417,7 @@

rfh.iov = msg->msg_iov;
rfh.saddr = rt->rt_src;
+ rfh.dst = &rt->u.dst;
if (!ipc.addr)
ipc.addr = rt->rt_dst;
err=ip_build_xmit(sk, sk->protinfo.af_inet.hdrincl ? raw_getrawfrag : raw_getfrag,


BTW why did you restore htons on ident? Is it not useless?
And is ident=1 is really better than 0?

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.079 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site