From: Casey Schaufler Date: Mon, 5 Aug 2013 20:21:22 +0000 (-0700) Subject: Smack: IPv6 casting error fix for 3.11 X-Git-Tag: v3.11-rc5~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ea062475a9a2ea6e1394487fa0e51b3459957d1;p=pandora-kernel.git Smack: IPv6 casting error fix for 3.11 The original implementation of the Smack IPv6 port based local controls works most of the time using a sockaddr as a temporary variable, but not always as it overflows in some circumstances. The correct data is a sockaddr_in6. A struct sockaddr isn't as large as a struct sockaddr_in6. There would need to be casting one way or the other. This patch gets it the right way. Signed-off-by: Casey Schaufler Signed-off-by: James Morris --- Reading git-diff-tree failed