Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2001 13:23:46 -0800 (PST)
From:      Jesper Skriver <jesper@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_subr.c udp_usrreq.c
Message-ID:  <200102222123.f1MLNko11101@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jesper      2001/02/22 13:23:46 PST

  Modified files:
    sys/netinet          in_pcb.c in_pcb.h tcp_subr.c udp_usrreq.c 
  Log:
  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
  
  Revision  Changes    Path
  1.78      +46 -24    src/sys/netinet/in_pcb.c
  1.36      +4 -1      src/sys/netinet/in_pcb.h
  1.91      +16 -18    src/sys/netinet/tcp_subr.c
  1.86      +18 -18    src/sys/netinet/udp_usrreq.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102222123.f1MLNko11101>