Skip to contentSkip to conversation

ipv6: remove obsolete comment in ip6_append_data()

PATCH Applied [email protected] 2 participants 2 messages Jul 25, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipv6: remove obsolete comment in ip6_append_data()

From: Li RongQing <[email protected]>

After 11878b40e[net-timestamp: SOCK_RAW and PING timestamping], this comment becomes obsolete since the codes check not only UDP socket, but also RAW sock; and the codes are clear, not need the comments

---
 net/ipv6/ip6_output.c |    1 -
 1 file changed, 1 deletion(-)
net/ipv6/ip6_output.c +0 -1
index 759456f..2e339d2 100644
@@ -1270,7 +1270,6 @@ emsgsize:
 		}
 	}
 
-	/* For UDP, check if TX timestamp is enabled */
 	if (sk->sk_type == SOCK_DGRAM || sk->sk_type == SOCK_RAW)
 		sock_tx_timestamp(sk, &tx_flags);
 
Signature · 1 line
1.7.10.4
maintainer Applied
#1 lore raw

From: [email protected]
Date: Fri, 25 Jul 2014 14:45:11 +0800

Quoted 7 lines

From: Li RongQing <[email protected]>

After 11878b40e[net-timestamp: SOCK_RAW and PING timestamping], this comment becomes obsolete since the codes check not only UDP socket, but also RAW sock; and the codes are clear, not need the comments

Applied, thanks.