diff options
author | ru <ru@FreeBSD.org> | 2006-02-14 06:36:39 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-02-14 06:36:39 +0000 |
commit | a77fb4360bb170f10b7e19e403fe1d6fbd7a20b1 (patch) | |
tree | 9201c526bdcb5a0f93d4716ab0e76b7360ef7108 /sys/netinet/ip_dummynet.h | |
parent | 27b6060817627cc3f497e771ae2559a76b11439f (diff) | |
download | FreeBSD-src-a77fb4360bb170f10b7e19e403fe1d6fbd7a20b1.zip FreeBSD-src-a77fb4360bb170f10b7e19e403fe1d6fbd7a20b1.tar.gz |
When sending a packet from dummynet, indicate that we're forwarding
it so that ip_id etc. don't get overwritten. This fixes forwarding
of fragmented IP packets through a dummynet pipe -- fragments came
out with modified and different(!) ip_id's, making it impossible to
reassemble a datagram at the receiver side.
Submitted by: Alexander Karptsov (reworked by me)
MFC after: 3 days
Diffstat (limited to 'sys/netinet/ip_dummynet.h')
-rw-r--r-- | sys/netinet/ip_dummynet.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h index 9749c08..de12c65 100644 --- a/sys/netinet/ip_dummynet.h +++ b/sys/netinet/ip_dummynet.h @@ -130,7 +130,6 @@ struct dn_pkt_tag { dn_key output_time; /* when the pkt is due for delivery */ struct ifnet *ifp; /* interface, for ip_output */ - int flags ; /* flags, for ip_output (IPv6 ?) */ struct _ip6dn_args ip6opt; /* XXX ipv6 options */ }; #endif /* _KERNEL */ |