mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
l2tp: ignore L2TP_ATTR_VLAN_ID netlink attribute
The value of this attribute is never used. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3ae5536b80
commit
ae51a7c6d5
3 changed files with 2 additions and 6 deletions
|
@ -591,9 +591,6 @@ static int l2tp_nl_cmd_session_create(struct sk_buff *skb, struct genl_info *inf
|
|||
}
|
||||
if (info->attrs[L2TP_ATTR_IFNAME])
|
||||
cfg.ifname = nla_data(info->attrs[L2TP_ATTR_IFNAME]);
|
||||
|
||||
if (info->attrs[L2TP_ATTR_VLAN_ID])
|
||||
cfg.vlan_id = nla_get_u16(info->attrs[L2TP_ATTR_VLAN_ID]);
|
||||
}
|
||||
|
||||
if (info->attrs[L2TP_ATTR_DEBUG])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue