Do me a favor. We have mechanisms by which you can queue up packets
(even into userspace) to make policy decisions.
You can make your decision there, and if appropriate, reinject the
packet back into the kernel input processing.
This is how netfilter ip_queue allows people to implement policies
in userspace, and you could use it in the kernel and then need
none of these ugly hooks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html