]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit684dd97904603dbbe4b9b19e85e40a05a6822957
treeb7a2faad59bfa92db4057c23fcf7d31b70d20611
parent70f9cfb5710995e36629d7291c2e3b8a30360142
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