cvs commit: src/sys/contrib/pf/net if_pflog.c if_pfsync.c pf_ioctl.c

Max Laier mlaier at FreeBSD.org
Mon Sep 13 20:12:01 PDT 2004


mlaier      2004-09-14 03:12:01 UTC

  FreeBSD src repository

  Modified files:
    sys/contrib/pf/net   if_pflog.c if_pfsync.c pf_ioctl.c 
  Log:
  Move pf* init from SI_SUB_PSEUDO to SI_SUB_PROTO_IFATTACHDOMAIN where it is
  save to call if_attachdomain from if_attach() (as done for if_loop.c). We
  will now end up with a properly initialized if_afdata array and the nd6
  callout will no longer try to deref a NULL pointer.
  
  Still this is a temp workaround and the locking for if_afdata should be
  revisited at a later point.
  
  Requested by:                   rwatson
  Discussed with and tested by:   yongari (a while ago)
  PR:                             kern/70393
  MFC after:                      5 days
  
  Revision  Changes    Path
  1.10      +1 -1      src/sys/contrib/pf/net/if_pflog.c
  1.12      +1 -1      src/sys/contrib/pf/net/if_pfsync.c
  1.14      +1 -1      src/sys/contrib/pf/net/pf_ioctl.c


More information about the cvs-src mailing list