Module Name: src Committed By: msaitoh Date: Thu May 15 07:48:41 UTC 2014
Modified Files: src/sys/net: if_mpls.c Log Message: Put schednetisr(NETISR_IP) into splnet()/splx() pair. This avoid extra ipintr() call with empty queue. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/net/if_mpls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if_mpls.c diff -u src/sys/net/if_mpls.c:1.11 src/sys/net/if_mpls.c:1.12 --- src/sys/net/if_mpls.c:1.11 Fri Oct 25 09:25:32 2013 +++ src/sys/net/if_mpls.c Thu May 15 07:48:41 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: if_mpls.c,v 1.11 2013/10/25 09:25:32 kefren Exp $ */ +/* $NetBSD: if_mpls.c,v 1.12 2014/05/15 07:48:41 msaitoh Exp $ */ /* * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_mpls.c,v 1.11 2013/10/25 09:25:32 kefren Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_mpls.c,v 1.12 2014/05/15 07:48:41 msaitoh Exp $"); #include "opt_inet.h" #include "opt_mpls.h" @@ -540,8 +540,8 @@ mpls_unlabel_inet(struct mbuf *m) return ENOBUFS; } IF_ENQUEUE(inq, m); - splx(s); schednetisr(NETISR_IP); + splx(s); return 0; }