# HG changeset patch # User Eric Cheng # Date 1254365613 25200 # Node ID 2f0266180e4f036e797b995b5064f4ac205a19f2 # Parent 5c59ad6abe2c83221c44366a3743fe941bf25af5 6627861 Nemo should consider that the source address could be NULL for IB diff -r 5c59ad6abe2c -r 2f0266180e4f usr/src/uts/common/io/dls/dls_link.c --- a/usr/src/uts/common/io/dls/dls_link.c Wed Sep 30 18:56:19 2009 -0600 +++ b/usr/src/uts/common/io/dls/dls_link.c Wed Sep 30 19:53:33 2009 -0700 @@ -167,10 +167,11 @@ prevp->b_next = mp; /* - * The source, destination, sap, vlan id and the MSGNOLOOP - * flag must all match in a given subchain. + * The source, destination, sap, vlan tag must all match in + * a given subchain. */ - if (memcmp(mhip->mhi_daddr, cmhi.mhi_daddr, addr_size) != 0 || + if (mhip->mhi_saddr == NULL || cmhi.mhi_saddr == NULL || + memcmp(mhip->mhi_daddr, cmhi.mhi_daddr, addr_size) != 0 || memcmp(mhip->mhi_saddr, cmhi.mhi_saddr, addr_size) != 0 || mhip->mhi_bindsap != cmhi.mhi_bindsap) { /*