diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2018-07-27 11:00:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-27 13:34:53 -0700 |
commit | 92ea4a7eec7289468ac8de5386f4b13d9c210cb5 (patch) | |
tree | 60ffe7bf60fa0277f8e4dd7be0024c7e7dc6a2c8 /net/l2tp/l2tp_core.c | |
parent | 1998b5ed9c9bba5369e7c3659fc8a2e468e62bea (diff) | |
download | linux-92ea4a7eec7289468ac8de5386f4b13d9c210cb5.tar.gz linux-92ea4a7eec7289468ac8de5386f4b13d9c210cb5.tar.bz2 linux-92ea4a7eec7289468ac8de5386f4b13d9c210cb5.zip |
l2tp: drop ->mru from struct l2tp_session
This field is not used.
Treat PPPIOC*MRU the same way as PPPIOC*FLAGS: "get" requests return 0,
while "set" requests vadidate the user supplied pointer but discard its
value.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.c')
-rw-r--r-- | net/l2tp/l2tp_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index d10f4ed52d92..c61a467fd9b8 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -1675,7 +1675,6 @@ struct l2tp_session *l2tp_session_create(int priv_size, struct l2tp_tunnel *tunn session->pwtype = cfg->pw_type; session->debug = cfg->debug; session->mtu = cfg->mtu; - session->mru = cfg->mru; session->send_seq = cfg->send_seq; session->recv_seq = cfg->recv_seq; session->lns_mode = cfg->lns_mode; |