Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information