Re: FreeBSD 5 ip_gre and netisr_enable=1

From: Robert Watson (rwatson_at_FreeBSD.org)
Date: 08/26/05

  • Next message: Daniel O'Connor: "Re: AltQ + ng_iface"
    Date: Fri, 26 Aug 2005 22:09:21 +0100 (BST)
    To: ming fu <fming@borderware.com>
    
    

    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
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Daniel O'Connor: "Re: AltQ + ng_iface"

    Relevant Pages