mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
Revert "sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy"
This reverts commit 1031462a94 as it
was backported incorrectly.
A subsequent commit will re-backport the original patch.
Signed-off-by: Magali Lemes <magali.lemes@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
769f2099d9
commit
2ced96df87
1 changed files with 1 additions and 2 deletions
|
|
@ -441,8 +441,7 @@ static int proc_sctp_do_auth(struct ctl_table *ctl, int write,
|
|||
void __user *buffer, size_t *lenp,
|
||||
loff_t *ppos)
|
||||
{
|
||||
struct net *net = container_of(ctl->data, struct net,
|
||||
sctp.sctp_hmac_alg);
|
||||
struct net *net = current->nsproxy->net_ns;
|
||||
struct ctl_table tbl;
|
||||
int new_value, ret;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue