Commit ac3d2e5a authored by Li RongQing's avatar Li RongQing Committed by David S. Miller

ipv6: remove obsolete comment in ip6_append_data()

After 11878b40[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: default avatarLi RongQing <roy.qing.li@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e3550e4
...@@ -1270,7 +1270,6 @@ int ip6_append_data(struct sock *sk, int getfrag(void *from, char *to, ...@@ -1270,7 +1270,6 @@ int ip6_append_data(struct sock *sk, int getfrag(void *from, char *to,
} }
} }
/* For UDP, check if TX timestamp is enabled */
if (sk->sk_type == SOCK_DGRAM || sk->sk_type == SOCK_RAW) if (sk->sk_type == SOCK_DGRAM || sk->sk_type == SOCK_RAW)
sock_tx_timestamp(sk, &tx_flags); sock_tx_timestamp(sk, &tx_flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment