diff options
| author | ozaki-r <ozaki-r@NetBSD.org> | 2016-02-15 01:11:41 +0000 |
|---|---|---|
| committer | ozaki-r <ozaki-r@NetBSD.org> | 2016-02-15 01:11:41 +0000 |
| commit | 3c620b7c7c7d0b1928503deca17a67c8b29139d0 (patch) | |
| tree | 74edf8c1b1647f857a102fd693f4cd924aee8c6d /lib/lua/sqlite | |
| parent | c368feebd57a6fb0fe71e7b1b213da08e61071cd (diff) | |
Simplify bridge(4)
Thanks to introducing softint-based if_input, the entire bridge code now
never run in hardware interrupt context. So we can simplify the code.
- Remove spin mutexes
- They were needed because some code of bridge could run in
hardware interrupt context
- We now need only an adaptive mutex for each shared object
(a member list and a forwarding table)
- Remove pktqueue
- bridge_input is already in softint, using another softint
(for bridge_forward) is useless
- Packet distribution should be down at device drivers
Diffstat (limited to 'lib/lua/sqlite')
0 files changed, 0 insertions, 0 deletions
