Mercurial > illumos > illumos-gate
changeset 3607:288ca557ca70
6520662 ipfilter panic'ed repatedly in b57
author | zf203873 |
---|---|
date | Tue, 06 Feb 2007 19:24:13 -0800 |
parents | f8d6924e5a84 |
children | ea12a5a705a7 |
files | usr/src/uts/common/inet/ipf/ip_state.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/inet/ipf/ip_state.c Tue Feb 06 17:55:02 2007 -0800 +++ b/usr/src/uts/common/inet/ipf/ip_state.c Tue Feb 06 19:24:13 2007 -0800 @@ -1983,7 +1983,7 @@ # endif } #endif - bcopy((char *)fin, (char *)&ofin, sizeof(fin)); + bcopy((char *)fin, (char *)&ofin, sizeof(*fin)); /* * in the IPv4 case we must zero the i6addr union otherwise @@ -3553,7 +3553,7 @@ if (fin->fin_plen < sizeof(*oip6)) return NULL; - bcopy((char *)fin, (char *)&ofin, sizeof(fin)); + bcopy((char *)fin, (char *)&ofin, sizeof(*fin)); ofin.fin_v = 6; ofin.fin_ifp = fin->fin_ifp; ofin.fin_out = !fin->fin_out;