Current-Users archive

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

Re: CVS commit: src/sys





On Dec 27, 2016 14:18, "bch" <brad.harder%gmail.com@localhost> wrote:


On Dec 27, 2016 05:50, "Christos Zoulas" <christos%zoulas.com@localhost> wrote:
On Dec 26,  9:28pm, brad.harder%gmail.com@localhost (bch) wrote:
-- Subject: 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@

Should be fixed now!


This is still faulting for me after building both kernel and modules, and commenting-out ipf pseudo-device and associated IPF* configs from GENERIC (amd64) config...

Transcribed (rough) backtrace:

breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd: vpanic+0x140
ch_voltag_covert_in() at ...
pfil_add_hook() at ...
Ipfattach() at ipl:ipfattach+0x124
ipf_ipf_ioctl() at ipl:ipf_ipf_ioctl+0x692
ipfioctl() at ipl:ipfioctl...
cdev_ioctl() at ...






christos




Home | Main Index | Thread Index | Old Index