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

Fix a segmentation fault bug when used with DPDK. #429

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 28, 2018

  1. Fix a segmentation fault bug when used with DPDK.

    When DPDK is used we have:
        lkl_hijack_netdev_create()
          --> lkl_netdev_dpdk_create()
            --> rte_eal_init()
              --> rte_eal_intr_init()
    
    rte_eal_intr_init() creates threads to use lkl_ops, but lkl_ops will only
    be initialized in later call to lkl_start_kernel(). So LKL crashes with
    SIGSEGV received.
    
    Fix by switching calls to lkl_hijack_netdev_create()/lkl_start_kernel().
    
    Signed-off-by: Xiaozhou Liu <[email protected]>
    boat0 committed Mar 28, 2018
    Configuration menu
    Copy the full SHA
    31abbd7 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2018

  1. Configuration menu
    Copy the full SHA
    7bbf66e View commit details
    Browse the repository at this point in the history