diff options
author | chip <chip> | 1999-11-25 04:08:35 +0000 |
---|---|---|
committer | chip <chip> | 1999-11-25 04:08:35 +0000 |
commit | 60c666b82d5b193ead1eae2d16d6d07e94b4adb8 (patch) | |
tree | ecfd6bff99b9d07c02f6f02b8db37244308db017 /utils/statd/monitor.c | |
parent | 024b5b69d39bfbeebd97736c78852ab79412c6a4 (diff) | |
download | nfs-utils-60c666b82d5b193ead1eae2d16d6d07e94b4adb8.tar.gz nfs-utils-60c666b82d5b193ead1eae2d16d6d07e94b4adb8.tar.xz nfs-utils-60c666b82d5b193ead1eae2d16d6d07e94b4adb8.zip |
Accept lockd callbacks to the new port 24 as well as the historical
port 100021.
Diffstat (limited to 'utils/statd/monitor.c')
-rw-r--r-- | utils/statd/monitor.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/statd/monitor.c b/utils/statd/monitor.c index 5a782dc..879e583 100644 --- a/utils/statd/monitor.c +++ b/utils/statd/monitor.c @@ -67,10 +67,13 @@ sm_mon_1_svc(struct mon *argp, struct svc_req *rqstp) my_name = "127.0.0.1"; /* 2. Reject any registrations for non-lockd services. + * * This is specific to the linux kernel lockd, which * makes the callback procedure part of the lockd interface. + * It is also prone to break when lockd changes its callback + * procedure number. XXX FIXME */ - if (id->my_proc != 100021) { + if (id->my_proc != 100021 && id->my_proc != 24) { log(L_WARNING, "Attempt to register callback to service %d", id->my_proc); |