diff options
author | gd78059 <none@none> | 2007-06-06 13:57:04 -0700 |
---|---|---|
committer | gd78059 <none@none> | 2007-06-06 13:57:04 -0700 |
commit | 8b8311b8d5e4e417d65f9a7a397a243793129ff6 (patch) | |
tree | 508427ee354c87551264c96a7b334aa2f648f145 /usr/src | |
parent | 2917a9c9c3eee6fcaedb239f5f68da01f4ed0da9 (diff) | |
download | illumos-joyent-8b8311b8d5e4e417d65f9a7a397a243793129ff6.tar.gz |
6557249 DLS layer now expects the IP addresses to be aligned
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/dls/dls_soft_ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/dls/dls_soft_ring.c b/usr/src/uts/common/io/dls/dls_soft_ring.c index da493b503e..3ad6e9dd62 100644 --- a/usr/src/uts/common/io/dls/dls_soft_ring.c +++ b/usr/src/uts/common/io/dls/dls_soft_ring.c @@ -666,7 +666,7 @@ dls_soft_ring_fanout(void *rx_handle, void *rx_cookie, mblk_t *mp_chain, bp = mp = mp_chain; mp_chain = mp_chain->b_next; mp->b_next = NULL; - if (MBLKL(mp) < sizeof (ipha_t)) { + if ((MBLKL(mp) < sizeof (ipha_t)) || !OK_32PTR(mp->b_rptr)) { if ((mp = msgpullup(mp, sizeof (ipha_t))) == NULL) { /* Let's toss this away */ dls_bad_ip_pkt++; |