Skip to content

Commit

Permalink
ipv6: cancel to setting local_df in ip6_xmit()
Browse files Browse the repository at this point in the history
commit f88037(sctp: Drop ipfargok in sctp_xmit function)
has droped ipfragok and set local_df value properly.

So the change of commit 77e2f1(ipv6: Fix ip6_xmit to
send fragments if ipfragok is true) is not needed.
So the patch remove them.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shan Wei authored and David S. Miller committed Apr 16, 2010
1 parent a4fbf84 commit 0eecb78
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/ipv6/ip6_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@ int ip6_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl,
skb_reset_network_header(skb);
hdr = ipv6_hdr(skb);

/* Allow local fragmentation. */
if (ipfragok)
skb->local_df = 1;

/*
* Fill in the IPv6 header
*/
Expand Down

0 comments on commit 0eecb78

Please sign in to comment.