Mercurial > illumos > illumos-gate
changeset 9943:7fd38e9cb142
6827459 BAD TRAP in mac_bcast_send on LDoms control domain with Build 112
author | WENTAO YANG <Wentao.Yang@Sun.COM> |
---|---|
date | Mon, 22 Jun 2009 16:43:56 -0700 |
parents | 1ace2862a581 |
children | 41f16633c290 |
files | usr/src/uts/sun4v/io/vsw_phys.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/sun4v/io/vsw_phys.c Mon Jun 22 16:36:08 2009 -0700 +++ b/usr/src/uts/sun4v/io/vsw_phys.c Mon Jun 22 16:43:56 2009 -0700 @@ -132,7 +132,6 @@ */ extern int vsw_mac_open_retries; - #define WRITE_MACCL_ENTER(vswp, port, type) \ (type == VSW_LOCALDEV) ? rw_enter(&vswp->maccl_rwlock, RW_WRITER) :\ rw_enter(&port->maccl_rwlock, RW_WRITER) @@ -558,9 +557,9 @@ vsw_mac_client_cleanup(vsw_t *vswp, vsw_port_t *port, int type) { WRITE_MACCL_ENTER(vswp, port, type); + vsw_mac_multicast_remove_all(vswp, port, type); vsw_unset_hw(vswp, port, type); vsw_maccl_close(vswp, port, type); - vsw_mac_multicast_remove_all(vswp, port, type); RW_MACCL_EXIT(vswp, port, type); }