Fix LINT kernel build.
authorSascha Wildner <saw@online.de>
Tue, 8 Dec 2009 07:55:53 +0000 (08:55 +0100)
committerSascha Wildner <saw@online.de>
Tue, 8 Dec 2009 07:55:53 +0000 (08:55 +0100)
Specifically, building with IPDIVERT & SMP was broken.

sys/netinet/ip_divert.c

index 5293c27..5de7634 100644 (file)
@@ -369,8 +369,8 @@ divert_packet(struct mbuf *m, int incoming)
                struct lwkt_msg *msg;
 
                nmp = &m->m_hdr.mh_netmsg;
-               netmsg_init(&nmp->nm_netmsg, &netisr_apanic_rport, MSGF_MPSAFE,
-                           div_packet_handler);
+               netmsg_init(&nmp->nm_netmsg, NULL, &netisr_apanic_rport,
+                   MSGF_MPSAFE, div_packet_handler);
                nmp->nm_packet = m;
 
                msg = &nmp->nm_netmsg.nm_lmsg;