FreeBSD 5 ip_gre and netisr_enable=1

Robert Watson rwatson at FreeBSD.org
Fri Aug 26 21:09:25 GMT 2005


On Thu, 25 Aug 2005, ming fu wrote:

> when a GRE packet gets into the ip_gre2(), its gre header is stripped 
> and sent to netisr_dispatch() for ip_input() processing again. In case, 
> the net.isr.enable is 1, the packet will be delivered to ip_input 
> directly instead of put in the queue.

Probably, we should use netisr_queue() here instead of netisr_dispatch() 
to force indirect dispatch in this case?  The _dispatch() variant should 
only be used when the calling context is willing to perform a full netisr 
dispatch.

Robert N M Watson


More information about the freebsd-net mailing list