[Bug 185617] pfctl(8): armv6: "pfctl -s state" crashes on BeagleBone Black due to unaligned access

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 17 14:24:46 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185617

guyyur at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|pfctl(8): 10.0-RC1, armv6:  |pfctl(8): armv6: "pfctl -s
                   |"pfctl -s state" crashes on |state" crashes on
                   |BeagleBone Black due to     |BeagleBone Black due to
                   |unaligned access            |unaligned access
           Hardware|Any                         |arm
            Version|unspecified                 |11.0-CURRENT

--- Comment #2 from guyyur at gmail.com ---
Patch that breaks backward compatibility by separating the pfsync and pfioc
state structures and uses host order for pfioc fields except for id and
creatorid.

pfsync_state_import is duplicated to pfioc_state_import.
pfioc_state_export is duplicated to pfsync_state_export.
pfsync_alloc_scrub_memory is duplicated to pfioc_alloc_scrub_memory.


https://github.com/guyyur/freebsd-src_patches/blob/master/pfctl_arm_segbus__ver2_part1.patch

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pf mailing list