Skip to contentSkip to conversation

ipv6: cancel to setting local_df in ip6_xmit()

PATCH Applied Shan Wei 2 participants 2 messages Apr 16, 2010

Subsystems (3)
lore
Share & tools
lore

Shan Wei

author
#0 lore raw

PATCH v2 1/3 ipv6: cancel to setting local_df in ip6_xmit()

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.

---
Resend the patches with fixed cc list, no content changes.

---
 net/ipv6/ip6_output.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
net/ipv6/ip6_output.c +0 -4
index 16c4391..f3a847e 100644
@@ -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
 	 */

--
1.6.3.3

maintainer Applied
#1 lore raw

From: Shan Wei <[email protected]>
Date: Fri, 16 Apr 2010 10:39:14 +0800

Quoted 8 lines

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.

Applied.