]> git.baikalelectronics.ru Git - kernel.git/commit
net: correct comment on where to place transmit time stamp hook.
authorRichard Cochran <richardcochran@gmail.com>
Sun, 19 Jun 2011 03:31:39 +0000 (03:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2011 23:35:30 +0000 (16:35 -0700)
commit452f4b546a18a4410af0af950d647b2e92b37a84
treef82bd4ee7ff91bbf66de846a4f601c26b549a3f9
parent9dd5b742e950aa4c26c9382576c99c423f21e356
net: correct comment on where to place transmit time stamp hook.

The comment for the skb_tx_timestamp() function suggests calling it just
after a buffer is released to the hardware for transmission. However,
for drivers that free the buffer in an ISR, this produces a race between
the time stamp code and the ISR. This commit changes the comment to advise
placing the call just before handing the buffer over to the hardware.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h