First Patch to get CARP on Dfly

Jonathan Buschmann jonthn+dfly at agmact.com
Wed Mar 14 04:29:25 PDT 2007


On 3/14/07, Sepherosa Ziehau <sepherosa at gmail.com> wrote:
On 3/14/07, Jonathan Buschmann <jonthn+dfly at agmact.com> wrote:
> Hello,
> <SNIP-SNAP>

> If you've got any comments on how to improve this patch don't hesitate
> to tell us.
Why you want to comment out following assertion?
It's a cleanup that remains to be done ;) , it must be there since we
worked on lwkt_* to see how it works.
I'm sorry we forgot to remove that.
diff --git a/src/sys/net/ifq_var.h b/src/sys/net/ifq_var.h
index dfabe90..9cc2ce5 100644
--- a/src/sys/net/ifq_var.h
+++ b/src/sys/net/ifq_var.h
@@ -185,7 +185,7 @@ ifq_handoff(struct ifnet *_ifp, struct m
 {
        int _error;
-       ASSERT_SERIALIZED(_ifp->if_serializer);
+/*     ASSERT_SERIALIZED(_ifp->if_serializer);*/
        _error = ifq_enqueue(&_ifp->if_snd, _m, _pa);
        if (_error == 0) {
                _ifp->if_obytes += _m->m_pkthdr.len;
Best Regards,
sephe
--
Live Free or Die





More information about the Kernel mailing list