From: Sridhar Samudrala <sri@xxxxxxxxxx>
Date: Wed, 8 Jan 2003 15:04:53 -0800 (PST)
1. Add a new argument to ip_queue_xmit() to pass the value of DF bit.
2. Use the __unused field in skb to pass the value of DF bit.
3. Let SCTP call its own routine that fills in the ip header with the
appropriate value in the DF bit, but this duplicates most of the code
in ip_queue_xmit(). Also ip_options_build() needs to be exported.
Which option do you prefer? Or can you suggest any better alternative?
Too bad there's not a 4th option, fix SCTP. This is really broken
that the data stream can get into a state where resegmentation cannot
be performed.
Sigh... I guess the new argument to ip_queue_xmit() is the least
intrusive.
|