Author: pjd
Date: Fri Oct  8 15:05:39 2010
New Revision: 213580
URL: http://svn.freebsd.org/changeset/base/213580

Log:
  We can't zero out ggio request, as we have some fields in there we initialize
  once during start-up.
  
  Reported by:  Mikolaj Golub <to.my.troc...@gmail.com>
  MFC after:    3 days

Modified:
  head/sbin/hastd/primary.c

Modified: head/sbin/hastd/primary.c
==============================================================================
--- head/sbin/hastd/primary.c   Fri Oct  8 15:02:15 2010        (r213579)
+++ head/sbin/hastd/primary.c   Fri Oct  8 15:05:39 2010        (r213580)
@@ -930,7 +930,6 @@ ggate_recv_thread(void *arg)
                QUEUE_TAKE2(hio, free);
                pjdlog_debug(2, "ggate_recv: (%p) Got free request.", hio);
                ggio = &hio->hio_ggio;
-               bzero(ggio, sizeof(*ggio));
                ggio->gctl_unit = res->hr_ggateunit;
                ggio->gctl_length = MAXPHYS;
                ggio->gctl_error = 0;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to