git: kernel/vtnet: Zeroing memory before reusing.

Sascha Wildner swildner at
Sat Apr 26 12:14:44 PDT 2014

commit ca2502a7bf47835df10744ace323d4f9d7e969b9
Author: Imre Vadasz <imre at>
Date:   Sat Apr 26 12:01:13 2014 +0200

    kernel/vtnet: Zeroing memory before reusing.
    * Forgot a memset to clear sc->vtnet_macfilter before reusing.
    * Forgot an __aligned(2) in another case where we need a local
      variable of size 2 to be stored in physically contiguous memory.
    * Deletes an unneeded assertion and comment.

Summary of changes:
 sys/dev/virtual/virtio/net/if_vtnet.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list