aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/hrtimer.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-01-22 14:43:21 -0500
committerSteve French <sfrench@us.ibm.com>2009-01-29 03:32:13 +0000
commita9ac49d303f967be0dabd97cb722c4a13109c6c2 (patch)
treecf170dfaff4b5559eb814806e5cfb573f3e4be93 /kernel/hrtimer.c
parent[CIFS] Make socket retry timeouts consistent between blocking and nonblocking cases (diff)
downloadlinux-dev-a9ac49d303f967be0dabd97cb722c4a13109c6c2.tar.xz
linux-dev-a9ac49d303f967be0dabd97cb722c4a13109c6c2.zip
cifs: make sure we allocate enough storage for socket address
The sockaddr declared on the stack in cifs_get_tcp_session is too small for IPv6 addresses. Change it from "struct sockaddr" to "struct sockaddr_storage" to prevent stack corruption when IPv6 is used. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions