diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2013-08-05 13:21:22 -0700 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2013-08-06 20:53:54 +1000 |
commit | 6ea062475a9a2ea6e1394487fa0e51b3459957d1 (patch) | |
tree | 5bafb48025b8d504ea119ee77cc4838b7a1f22fa /samples | |
parent | c095ba7224d8edc71dcef0d655911399a8bd4a3f (diff) | |
download | op-kernel-dev-6ea062475a9a2ea6e1394487fa0e51b3459957d1.zip op-kernel-dev-6ea062475a9a2ea6e1394487fa0e51b3459957d1.tar.gz |
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 <casey@schaufler-ca.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions