diff options
author | Ian Dall <ian@beware.dropbear.id.au> | 2009-03-10 20:33:22 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-03-10 20:33:22 -0400 |
commit | d7371c41b0cda782256b1df759df4e8d4724584c (patch) | |
tree | c5807f0cb163db7bb4a03cdd6c986d8fa40545e0 /net/sunrpc/xprt.c | |
parent | a71ee337b31271e701f689d544b6153b75609bc5 (diff) | |
download | linux-3.10-d7371c41b0cda782256b1df759df4e8d4724584c.tar.gz linux-3.10-d7371c41b0cda782256b1df759df4e8d4724584c.tar.bz2 linux-3.10-d7371c41b0cda782256b1df759df4e8d4724584c.zip |
Bug 11061, NFS mounts dropped
Addresses: http://bugzilla.kernel.org/show_bug.cgi?id=11061
sockaddr structures can't be reliably compared using memcmp() because
there are padding bytes in the structure which can't be guaranteed to
be the same even when the sockaddr structures refer to the same
socket. Instead compare all the relevant fields. In the case of IPv6
sin6_flowinfo is not compared because it only affects QoS and
sin6_scope_id is only compared if the address is "link local" because
"link local" addresses need only be unique to a specific link.
Signed-off-by: Ian Dall <ian@beware.dropbear.id.au>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions