git: vkernel - Fix frustrating VKE mac address bug

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 1 17:25:51 PDT 2013


commit b3a6732e269f2e8f4cba00e8e7e355f16f1e138d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jul 1 17:24:26 2013 -0700

    vkernel - Fix frustrating VKE mac address bug
    
    * Fix a very frustrating bug where VKE would sometimes ignore packets.
      It turns out that the default randomly-generated ether mac address
      was not being properly zero'd, leaving uninitialized locations in
      bytes 0 and 1 which would sometimes make the MAC look like a multicast
      address.
    
    Reported-by: Frustrated tuxilo

Summary of changes:
 sys/dev/virtual/vkernel/net/if_vke.c | 64 +++++++++++++++++++++---------------
 1 file changed, 37 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b3a6732e269f2e8f4cba00e8e7e355f16f1e138d


-- 
DragonFly BSD source repository



More information about the Commits mailing list