diff options
author | Jesper Skriver <jesper@FreeBSD.org> | 2001-02-22 21:23:45 +0000 |
---|---|---|
committer | Jesper Skriver <jesper@FreeBSD.org> | 2001-02-22 21:23:45 +0000 |
commit | d1c54148b78ae007e1ce7279484fb89e558d8843 (patch) | |
tree | 234a74c2377084abf6fd187759a6694ba08912bd /sbin | |
parent | 9d0ddf1861142f3df9c288c98ccb6b0fcb4e6864 (diff) | |
download | src-d1c54148b78ae007e1ce7279484fb89e558d8843.tar.gz src-d1c54148b78ae007e1ce7279484fb89e558d8843.zip |
Redo the security update done in rev 1.54 of src/sys/netinet/tcp_subr.c
and 1.84 of src/sys/netinet/udp_usrreq.c
The changes broken down:
- remove 0 as a wildcard for addresses and port numbers in
src/sys/netinet/in_pcb.c:in_pcbnotify()
- add src/sys/netinet/in_pcb.c:in_pcbnotifyall() used to notify
all sessions with the specific remote address.
- change
- src/sys/netinet/udp_usrreq.c:udp_ctlinput()
- src/sys/netinet/tcp_subr.c:tcp_ctlinput()
to use in_pcbnotifyall() to notify multiple sessions, instead of
using in_pcbnotify() with 0 as src address and as port numbers.
- remove check for src port == 0 in
- src/sys/netinet/tcp_subr.c:tcp_ctlinput()
- src/sys/netinet/udp_usrreq.c:udp_ctlinput()
as they are no longer needed.
- move handling of redirects and host dead from in_pcbnotify() to
udp_ctlinput() and tcp_ctlinput(), so they will call
in_pcbnotifyall() to notify all sessions with the specific
remote address.
Approved by: jlemon
Inspired by: NetBSD
Notes
Notes:
svn path=/head/; revision=72922
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions