net: u64_stats_sync improvements
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 24 Jun 2010 00:04:38 +0000 (00:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 06:24:29 +0000 (23:24 -0700)
commitb6b3ecc71a0664d44ed8d087d583aee98fbf492a
tree078e92d78578d3a8833dd225f71a6b2a982ea5be
parenta095cfc40ec7ebe63e9532383c5b5c2a27b14075
net: u64_stats_sync improvements

- Add a comment about interrupts:

6) If counter might be written by an interrupt, readers should block
interrupts.

- Fix a typo in sample of use.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/u64_stats_sync.h