summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorIan Dall2009-03-11 01:33:22 +0100
committerTrond Myklebust2009-03-11 01:33:22 +0100
commitd7371c41b0cda782256b1df759df4e8d4724584c (patch)
treec5807f0cb163db7bb4a03cdd6c986d8fa40545e0 /net/sunrpc/xprtsock.c
parentNFS: Handle -ESTALE error in access() (diff)
downloadkernel-qcow2-linux-d7371c41b0cda782256b1df759df4e8d4724584c.tar.gz
kernel-qcow2-linux-d7371c41b0cda782256b1df759df4e8d4724584c.tar.xz
kernel-qcow2-linux-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/xprtsock.c')
0 files changed, 0 insertions, 0 deletions