rx: RX_INVALID_OPERATION abort unknown service only
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 25 Nov 2012 00:47:01 +0000 (19:47 -0500)
committerDerrick Brashear <shadow@your-file-system.com>
Wed, 5 Dec 2012 18:46:44 +0000 (10:46 -0800)
commit81212b18b3411b538c4a1bb94732948902005beb
treec758256a68d36a18544153513545af292b442b78
parent399abf159b1418dea38daf166f9d55072042909c
rx: RX_INVALID_OPERATION abort unknown service only

Patchset 1fbe83f9aacfc36a9c426ba1fd18ad7c72869dc1 introduced the
sending of RX_INVALID_OPERATION aborts for connection attempts
requesting a service not offered by the rx peer.  By sending aborts
for all failures of rxi_FindConnection() the set of incoming packets
that are responded to is broader than simply those with non-matching
serviceIds.  This patchset restricts the transmission of
RX_INVALID_OPERATION aborts only to the explicit case in which
rxi_FindConnection() attempted to find a service and either failed
to find a match or couldn't apply the requested security class/level
to that service.

Change-Id: Ie18798531e542e54878209ccd2fbbcd24f31abb6
Reviewed-on: http://gerrit.openafs.org/8512
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/rx/rx.c