mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
net/sched: flower: Reduce identation after is_key_vlan refactoring
Whitespace only. Signed-off-by: Boris Sukholitko <boris.sukholitko@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
285ba06b0e
commit
6ee59e554d
@ -1617,23 +1617,23 @@ static int fl_set_key(struct net *net, struct nlattr **tb,
|
||||
sizeof(key->eth.src));
|
||||
|
||||
if (is_vlan_key(tb[TCA_FLOWER_KEY_ETH_TYPE], ðertype, key, mask)) {
|
||||
fl_set_key_vlan(tb, ethertype, TCA_FLOWER_KEY_VLAN_ID,
|
||||
TCA_FLOWER_KEY_VLAN_PRIO,
|
||||
TCA_FLOWER_KEY_VLAN_ETH_TYPE,
|
||||
&key->vlan, &mask->vlan);
|
||||
fl_set_key_vlan(tb, ethertype, TCA_FLOWER_KEY_VLAN_ID,
|
||||
TCA_FLOWER_KEY_VLAN_PRIO,
|
||||
TCA_FLOWER_KEY_VLAN_ETH_TYPE,
|
||||
&key->vlan, &mask->vlan);
|
||||
|
||||
if (is_vlan_key(tb[TCA_FLOWER_KEY_VLAN_ETH_TYPE], ðertype, key, mask)) {
|
||||
fl_set_key_vlan(tb, ethertype,
|
||||
TCA_FLOWER_KEY_CVLAN_ID,
|
||||
TCA_FLOWER_KEY_CVLAN_PRIO,
|
||||
TCA_FLOWER_KEY_CVLAN_ETH_TYPE,
|
||||
&key->cvlan, &mask->cvlan);
|
||||
fl_set_key_val(tb, &key->basic.n_proto,
|
||||
TCA_FLOWER_KEY_CVLAN_ETH_TYPE,
|
||||
&mask->basic.n_proto,
|
||||
TCA_FLOWER_UNSPEC,
|
||||
sizeof(key->basic.n_proto));
|
||||
}
|
||||
if (is_vlan_key(tb[TCA_FLOWER_KEY_VLAN_ETH_TYPE], ðertype, key, mask)) {
|
||||
fl_set_key_vlan(tb, ethertype,
|
||||
TCA_FLOWER_KEY_CVLAN_ID,
|
||||
TCA_FLOWER_KEY_CVLAN_PRIO,
|
||||
TCA_FLOWER_KEY_CVLAN_ETH_TYPE,
|
||||
&key->cvlan, &mask->cvlan);
|
||||
fl_set_key_val(tb, &key->basic.n_proto,
|
||||
TCA_FLOWER_KEY_CVLAN_ETH_TYPE,
|
||||
&mask->basic.n_proto,
|
||||
TCA_FLOWER_UNSPEC,
|
||||
sizeof(key->basic.n_proto));
|
||||
}
|
||||
}
|
||||
|
||||
if (key->basic.n_proto == htons(ETH_P_IP) ||
|
||||
|
Loading…
Reference in New Issue
Block a user