Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ack_tracker: keep AckTracker parent class 64 bit aligned #169

Merged
merged 1 commit into from
Jul 22, 2014

Commits on Jul 22, 2014

  1. ack_tracker: keep AckTracker parent class 64 bit aligned

    AckTracker is a parent "class" for LateAckTracker which contains a RingBuffer.
    RingBuffer has a pointer member which points to the memory where the AckRecord
    slots (containing Bookmark) are stored.
    When the AckTracker is unaligned then the RingBuffer within LateAckTracker
    will also be unaligned and that can lead to SIGBUS on Sparc and IA64 platforms.
    
    Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
    lbudai committed Jul 22, 2014
    Configuration menu
    Copy the full SHA
    05275cb View commit details
    Browse the repository at this point in the history