[PATCH net-next] ipv6: remove obsolete comment in ip6_append_data()

Subsystems: networking [general], networking [ipv4/ipv6], the rest

STALE4405d

2 messages, 2 authors, 2014-07-25 · open the first message on its own page

[PATCH net-next] ipv6: remove obsolete comment in ip6_append_data()

From: <hidden>
Date: 2014-07-25 06:45:18

From: Li RongQing <redacted> 

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

Signed-off-by: Li RongQing <redacted>
---
 net/ipv6/ip6_output.c |    1 -
 1 file changed, 1 deletion(-)
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 759456f..2e339d2 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -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);
 
-- 
1.7.10.4

Re: [PATCH net-next] ipv6: remove obsolete comment in ip6_append_data()

From: David Miller <davem@davemloft.net>
Date: 2014-07-25 06:48:37

From: roy.qing.li@gmail.com
Date: Fri, 25 Jul 2014 14:45:11 +0800
From: Li RongQing <redacted> 

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

Signed-off-by: Li RongQing <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help