Hi, Based on Andrew Atrens previous work, I'm trying to bring netgraph up to date with FreeBSD. The latest patch I have can be downloaded from [1]. It builds but it's not yet working. I'm posting this message to ask for guidance as there is a lot to learn. 1) Locking. I have directly replaced all FreeBSD mutexes to lwkt_serialize locks on DragonFly, and all spl calls to critical sections. Is this the correct way to do this? 2) I think I'm having trouble with tsleep/wakeup in ng_socket. I'm testing using a vkernel, the configuration is at [2]. Inside the vkernel if I test the command 'ngctl list', ngctl will sleep (because of ng_socket tsleep) and then never wakes up again. A netisr is scheduled and should eventually wake up ngctl, but this doesn't seem to happen. I will keep looking, but I just wanted to post this just in case someone more experienced has a suggestion :-) . Thanks, Nuno [1] http://leaf.dragonflybsd.org/~nant/wip/netgraph-20071115.patch.gz [2] http://leaf.dragonflybsd.org/~nant/wip/NETGRAPH.VKERNEL
| Linus Torvalds | Linux 2.6.27-rc8 |
| Rafael J. Wysocki | 2.6.27-rc4-git1: Reported regressions from 2.6.26 |
| David Miller | [GIT]: Networking |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Miklos Vajna | [rfc] git submodules howto |
| Catalin Marinas | Re: [StGIT PATCH] Don't use patches/<branch>/current |
| Lars Hjemli | [ANNOUNCE] cgit 0.8 |
| Junio C Hamano | Re: [RFC] introduce GIT_WORK_DIR environment variable |
| rezidue | Speed Problems |
| Chris | Prolific USB-Serial Controller |
| Richard Daemon | Nfsen and php problems...? |
| Richard Stallman | Real men don't attack straw men |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
| Steve Glendinning | [PATCH] SMSC LAN911x and LAN921x vendor driver |
| Arjan van de Ven | Re: [GIT]: Networking |
| Denys | r8169 crash |
