Now
netbsd-8 commitmail json YAML
Pull up following revision(s) (requested by ryo in ticket #752):
sys/net/if_vlan.c: revision 1.125
Fix the handling of the state returned from pfil_run_hooks().
pfil_run_hooks() invokes any registered packet filters on the packet
being handled. It may return a (non-zero) errno, indicating that a
filter has decided that the packet should be discarded, and has freed
the mbuf. While a non-error (0) return usually means that the packet
should be processed normally, a filter may still free the mbuf if the
packet is a fragment, and the filter is holding it for reassembly and
future evaluation. Therefore, there must be separate tests for the
return value and for a possible discarded packet. (See pfil(9).)
OK: christos, martin
sys/net/if_vlan.c: revision 1.125
Fix the handling of the state returned from pfil_run_hooks().
pfil_run_hooks() invokes any registered packet filters on the packet
being handled. It may return a (non-zero) errno, indicating that a
filter has decided that the packet should be discarded, and has freed
the mbuf. While a non-error (0) return usually means that the packet
should be processed normally, a filter may still free the mbuf if the
packet is a fragment, and the filter is holding it for reassembly and
future evaluation. Therefore, there must be separate tests for the
return value and for a possible discarded packet. (See pfil(9).)
OK: christos, martin