From: Chetan Loke Date: Thu, 14 Jul 2011 15:36:33 +0000 (-0700) Subject: af-packet: fix - avoid reading stale data X-Git-Tag: v3.1-rc1~316^2~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc9f01b246ca8e4fa245991840b8076394f86707;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed