diff options
author | Chetan Loke <loke.chetan@gmail.com> | 2011-07-14 17:36:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-14 17:36:33 +0200 |
commit | cc9f01b246ca8e4fa245991840b8076394f86707 (patch) | |
tree | fb362018297a83c9c288a000893d7dbb88a3aead /drivers/rtc/rtc-omap.c | |
parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff) | |
download | linux-cc9f01b246ca8e4fa245991840b8076394f86707.tar.xz linux-cc9f01b246ca8e4fa245991840b8076394f86707.zip |
af-packet: fix - avoid reading stale data
Currently we flush tp_status and then flush the remainder of the header+payload.
tp_status should be flushed in the end to avoid stale data being read by user-space.
Incorrectly re-ordered barriers in v1.
Signed-off-by: Chetan Loke <loke.chetan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/rtc-omap.c')
0 files changed, 0 insertions, 0 deletions