NLM: Support IPv6 scope IDs in nlm_display_address()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 4 Dec 2008 19:20:08 +0000 (14:20 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 6 Jan 2009 16:53:49 +0000 (11:53 -0500)
commitbc995801a09d1fead0bec1356bfd836911c8eed7
treeb7a2faad59bfa92db4057c23fcf7d31b70d20611
parent6999fb4016b2604c2f8a65586bba4a62a4b24ce7
NLM: Support IPv6 scope IDs in nlm_display_address()

Scope ID support is needed since the kernel's NSM implementation is
about to use these displayed addresses as a mon_name in some cases.

When nsm_use_hostnames is zero, without scope ID support NSM will fail
to handle peers that contact us via a link-local address.  Link-local
addresses do not work without an interface ID, which is stored in the
sockaddr's sin6_scope_id field.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/host.c
include/linux/lockd/lockd.h