summaryrefslogtreecommitdiffstats
path: root/Documentation/firmware_class
diff options
context:
space:
mode:
authorNickolai Zeldovich <nickolai@csail.mit.edu>2013-01-16 21:36:17 -0500
committerSteve French <sfrench@us.ibm.com>2013-01-21 01:37:26 -0600
commite3e2775cedc9d6294b7bc7cbe9f59c62f9472871 (patch)
tree44ae751b06310accbe7db464133dcd4f7b9f89fb /Documentation/firmware_class
parent9a9284153d965a57edc7162a8e57c14c97f3a935 (diff)
cifs: fix srcip_matches() for ipv6
srcip_matches() previously had code like this: srcip_matches(..., struct sockaddr *rhs) { /* ... */ struct sockaddr_in6 *vaddr6 = (struct sockaddr_in6 *) &rhs; return ipv6_addr_equal(..., &vaddr6->sin6_addr); } which interpreted the values on the stack after the 'rhs' pointer as an ipv6 address. The correct thing to do is to use 'rhs', not '&rhs'. Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'Documentation/firmware_class')
0 files changed, 0 insertions, 0 deletions