summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorIan Dall <ian@beware.dropbear.id.au>2009-03-10 20:33:22 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-03-10 20:33:22 -0400
commitd7371c41b0cda782256b1df759df4e8d4724584c (patch)
treec5807f0cb163db7bb4a03cdd6c986d8fa40545e0 /net/sunrpc/xprt.c
parenta71ee337b31271e701f689d544b6153b75609bc5 (diff)
downloadlinux-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