diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-01-16 23:01:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-19 15:00:49 -0500 |
commit | 9afa65857d21c13a9209b82c309c3a1503e9646c (patch) | |
tree | dba2d82bb6f2cd519b7f5ed29832075c3df80f49 /net/l2tp/l2tp_debugfs.c | |
parent | 62e7b6a57c7b9bf3c6fd99418eeec05b08a85c38 (diff) | |
download | linux-9afa65857d21c13a9209b82c309c3a1503e9646c.tar.gz linux-9afa65857d21c13a9209b82c309c3a1503e9646c.tar.bz2 linux-9afa65857d21c13a9209b82c309c3a1503e9646c.zip |
l2tp: remove l2specific_len configurable parameter
Remove l2specific_len configuration parameter since now L2-Specific
Sublayer length is computed according to l2specific_type provided by
userspace.
Reviewed-by: Guillaume Nault <g.nault@alphalink.fr>
Tested-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_debugfs.c')
-rw-r--r-- | net/l2tp/l2tp_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_debugfs.c b/net/l2tp/l2tp_debugfs.c index 2c30587d1a14..72e713da4733 100644 --- a/net/l2tp/l2tp_debugfs.c +++ b/net/l2tp/l2tp_debugfs.c @@ -181,7 +181,7 @@ static void l2tp_dfs_seq_session_show(struct seq_file *m, void *v) session->debug, jiffies_to_msecs(session->reorder_timeout)); seq_printf(m, " offset 0 l2specific %hu/%hu\n", - session->l2specific_type, session->l2specific_len); + session->l2specific_type, l2tp_get_l2specific_len(session)); if (session->cookie_len) { seq_printf(m, " cookie %02x%02x%02x%02x", session->cookie[0], session->cookie[1], |