diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-03-22 20:17:47 -0800 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2005-03-22 20:17:47 -0800 |
| commit | 7f332288e3339eb21d52b952fb0517db24545d86 (patch) | |
| tree | 2884378bc0225c20a74e61c4bdf7afe2409847e2 /net/unix/af_unix.c | |
| parent | db7bba75e8b8617f465ef36e08220d755a6cb7de (diff) | |
[IPV4]: Clear DF bit in ip_fragment fast path
It is possible for ip_fragment() to send out head fragments with
both DF and MF set for packets with local_df set to true. This is
because the fast path tries to only modify the MF bit of the head
fragment.
Since the offset is always zero for the head fragment, and we know
that DF should be cleared in case of local_df, we can change |= to
a straight assignment.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
