Author: glebius
Date: Sun Aug 30 17:13:04 2020
New Revision: 364975
URL: https://svnweb.freebsd.org/changeset/base/364975

Log:
  Followup on r364922. Old comment said that the only reason to put
  the hook at queue mode was that mn_rx_intr() doesn't run at splnet
  level. In today's netgraph the only legitimate reason for queue mode
  is recursion avoidance. So I see no reason for queue mode here.
  
  Not tested!

Modified:
  head/sys/dev/mn/if_mn.c

Modified: head/sys/dev/mn/if_mn.c
==============================================================================
--- head/sys/dev/mn/if_mn.c     Sun Aug 30 16:27:58 2020        (r364974)
+++ head/sys/dev/mn/if_mn.c     Sun Aug 30 17:13:04 2020        (r364975)
@@ -743,8 +743,6 @@ ngmn_connect(hook_p hook)
        if (!(u & 1))
                printf("%s: init chan %d stat %08x\n", sc->name, chan, u);
        sc->m32x->stat = 1; 
-       /* force outward queueing */
-       NG_HOOK_FORCE_QUEUE(NG_HOOK_PEER(hook));
 
        return (0);
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to