Summary: | [panic] pfsync: memory address not aligned | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | lytboris | ||||||||
Component: | sparc64 | Assignee: | Gleb Smirnoff <glebius> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | CC: | glebius, melifaro | ||||||||
Priority: | Normal | ||||||||||
Version: | 10.0-STABLE | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Description
lytboris
2014-03-08 20:40:00 UTC
Created attachment 144257 [details]
Workable fix
Created attachment 144551 [details]
revised patch
Thanks, Boris!
Can you please test revised version of the patch? I am about to commit it.
/usr/src/sys/netpfil/pf/if_pfsync.c: In function 'pfsync_state_import': /usr/src/sys/netpfil/pf/if_pfsync.c:458: error: incompatible types in assignment /usr/src/sys/netpfil/pf/if_pfsync.c:459: error: incompatible types in assignment *** Error code 1 Created attachment 144553 [details]
revised patch
sorry, corrected patch attached
Corrected one works fine. A commit references this bug: Author: glebius Date: Thu Jul 10 12:41:58 UTC 2014 New revision: 268492 URL: http://svnweb.freebsd.org/changeset/base/268492 Log: On machines with strict alignment copy pfsync_state_key from packet on stack to avoid unaligned access. PR: 187381 Submitted by: Lytochkin Boris <lytboris gmail.com> Changes: head/sys/netpfil/pf/if_pfsync.c A commit references this bug: Author: glebius Date: Fri Aug 22 13:39:56 UTC 2014 New revision: 270328 URL: http://svnweb.freebsd.org/changeset/base/270328 Log: Merge r268492: On machines with strict alignment copy pfsync_state_key from packet on stack to avoid unaligned access. PR: 187381 Changes: _U stable/10/ stable/10/sys/netpfil/pf/if_pfsync.c |