cvs commit: src/sys/kern uipc_accf.c uipc_socket.c src/sys/sys socketvar.h

Robert Watson rwatson at FreeBSD.org
Sat Mar 12 04:57:18 PST 2005


rwatson     2005-03-12 12:57:18 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_accf.c uipc_socket.c 
    sys/sys              socketvar.h 
  Log:
  Move the logic implementing retrieval of the SO_ACCEPTFILTER socket option
  from uipc_socket.c to uipc_accf.c in do_getopt_accept_filter(), so that it
  now matches do_setopt_accept_filter().  Slightly reformulate the logic to
  match the optimistic allocation of storage for the argument in advance,
  and slightly expand the coverage of the socket lock.
  
  Revision  Changes    Path
  1.18      +27 -0     src/sys/kern/uipc_accf.c
  1.237     +1 -18     src/sys/kern/uipc_socket.c
  1.140     +1 -0      src/sys/sys/socketvar.h


More information about the cvs-src mailing list