Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys





On Dec 26, 2016 15:21, "Christos Zoulas" <christos%netbsd.org@localhost> wrote:
Module Name:    src
Committed By:   christos
Date:           Mon Dec 26 23:21:49 UTC 2016

Modified Files:
        src/sys/dist/pf/net: pf_if.c
        src/sys/external/bsd/ipf/netinet: ip_fil_netbsd.c
        src/sys/net: if.c if_pppoe.c if_spppsubr.c pfil.c pfil.h

Log Message:
pfil(9) improvements to handle address changes:

My kernel with these changes is faulting (transcribed):

Panic: kernel diagnostic assertion "(flags &~PFIL_ALL)==0" failed: file "/usr/src/sys/net/pfil.c", line 187
Fatal breakpoint trap in supervisor mode 
...
Stopped in PID 78.1 (ipf) at NetBSD: breakpoint+0x5: leave

Add:
  PFIL_IFADDR     call on interface reconfig (mbuf is ioctl #)
  PFIL_IFNET      call on interface attach/detach (mbuf is PFIL_IFNET_*)

from rmind@


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dist/pf/net/pf_if.c
cvs rdiff -u -r1.19 -r1.20 src/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c
cvs rdiff -u -r1.368 -r1.369 src/sys/net/if.c
cvs rdiff -u -r1.121 -r1.122 src/sys/net/if_pppoe.c
cvs rdiff -u -r1.163 -r1.164 src/sys/net/if_spppsubr.c
cvs rdiff -u -r1.28 -r1.29 src/sys/net/pfil.c
cvs rdiff -u -r1.31 -r1.32 src/sys/net/pfil.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index