From: Eric Dumazet Date: Tue, 7 Jun 2011 05:42:06 +0000 (-0700) Subject: af_packet: prevent information leak X-Git-Tag: v3.0-rc3~13^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13fcb7bd322164c67926ffe272846d4860196dc6;p=pandora-kernel.git af_packet: prevent information leak In 2.6.27, commit 393e52e33c6c2 (packet: deliver VLAN TCI to userspace) added a small information leak. Add padding field and make sure its zeroed before copy to user. Signed-off-by: Eric Dumazet CC: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed