mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
62e7b6a57c
commit
9afa65857d
4 changed files with 1 additions and 8 deletions
|
@ -1777,7 +1777,6 @@ struct l2tp_session *l2tp_session_create(int priv_size, struct l2tp_tunnel *tunn
|
|||
session->lns_mode = cfg->lns_mode;
|
||||
session->reorder_timeout = cfg->reorder_timeout;
|
||||
session->l2specific_type = cfg->l2specific_type;
|
||||
session->l2specific_len = cfg->l2specific_len;
|
||||
session->cookie_len = cfg->cookie_len;
|
||||
memcpy(&session->cookie[0], &cfg->cookie[0], cfg->cookie_len);
|
||||
session->peer_cookie_len = cfg->peer_cookie_len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue