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 crash when viewing nat46 kernel module config #43

Merged
merged 1 commit into from
Aug 12, 2024

Commits on Aug 1, 2024

  1. Fix crash when viewing nat46 kernel module config

    In the commit
    91b8e68 Add network namespace awareness to nat46
    the network namespace of the /proc/net file is now passed via
    single_open() to nat46_proc_show(). However, the priv arg
    passed to single_open() is accessed via the seq_file, not the
    second value.
    When using the second value, the 'network namespace' is invalid
    and causes a kernel oops.
    
    Access the network namespace in nat46_proc_show from
    struct seq_file.
    coledishington committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ab51a3b View commit details
    Browse the repository at this point in the history