diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2002-05-13 01:57:27 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2002-05-13 01:57:27 +0000 |
commit | 2672a59c2c54370e4640475155e34db8d1268a7b (patch) | |
tree | 08cda0e49189315bdf7b9cc4a8aa36563af960c8 | |
parent | 2d976489a21174b13c28b14361037d23e2002027 (diff) |
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* demuxer.c (pager_demuxer): Lookup INP->msgh_local_port, rather
than the remote port, as the kernel swaps them in transit.
-rw-r--r-- | libpager/ChangeLog | 5 | ||||
-rw-r--r-- | libpager/demuxer.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libpager/ChangeLog b/libpager/ChangeLog index 4a0b7b22..f5f59d9b 100644 --- a/libpager/ChangeLog +++ b/libpager/ChangeLog @@ -1,3 +1,8 @@ +2002-05-13 Marcus Brinkmann <marcus@gnu.org> + + * demuxer.c (pager_demuxer): Lookup INP->msgh_local_port, rather + than the remote port, as the kernel swaps them in transit. + 2002-05-07 Roland McGrath <roland@frob.com> * data-request.c (_pager_seqnos_memory_object_data_request): Use %z diff --git a/libpager/demuxer.c b/libpager/demuxer.c index 87a640ee..d6b99fc2 100644 --- a/libpager/demuxer.c +++ b/libpager/demuxer.c @@ -36,7 +36,7 @@ pager_demuxer (mach_msg_header_t *inp, { struct pager *p; - p = ports_lookup_port (0, inp->msgh_remote_port, _pager_class); + p = ports_lookup_port (0, inp->msgh_local_port, _pager_class); if (p) { /* Synchronize our bookkeeping of the port's seqno with |