Skip to content

Commit

Permalink
ipv6: remove obsolete comment in ip6_append_data()
Browse files Browse the repository at this point in the history
After 11878b4[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 <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Li RongQing authored and David S. Miller committed Jul 25, 2014
1 parent 1e3550e commit ac3d2e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/ipv6/ip6_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
sock_tx_timestamp(sk, &tx_flags);

Expand Down

0 comments on commit ac3d2e5

Please sign in to comment.