mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
rx: Always call rxi_StartListener
Commitc10f5296
made rx_Init only call rxi_StartListener in the kernel if we have RXK_LISTENER_ENV. But this doesn't make any sense, since rxi_StartListener only does anything if RXK_LISTENER_ENV is _not_ defined. As a result, for any non-rxk-listener non-rx-upcall platform, we never receives rx packets in the kernel, since we never set up our rx packet callback. The only such platform appears to be AIX, since while other platforms (HPUX, FBSD, IRIX) have a non-rxk-listener mode, they also implement an rxk-listener mode that we always turn on. So, just always call rxi_StartListener, and let the ifdef guards for the various implementations of rxi_StartListener do the right thing. FIXES 131725 Reviewed-on: http://gerrit.openafs.org/10263 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com> (cherry picked from commit2aa26fcb4e
) Change-Id: Id98c29175ec811195183c35c2c43c6c4de817dfc Reviewed-on: http://gerrit.openafs.org/10272 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
This commit is contained in:
parent
ad8b40dc80
commit
ccc7a46b41
@ -622,11 +622,9 @@ rx_InitHost(u_int host, u_int port)
|
||||
rx_GetIFInfo();
|
||||
#endif
|
||||
|
||||
#if defined(RXK_LISTENER_ENV) || !defined(KERNEL)
|
||||
/* Start listener process (exact function is dependent on the
|
||||
* implementation environment--kernel or user space) */
|
||||
rxi_StartListener();
|
||||
#endif
|
||||
|
||||
USERPRI;
|
||||
tmp_status = rxinit_status = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user