Re: [patch v4, kernel version 3.2.1] Source mode for macvlan interface |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: Štefan Gula <steweg@xxxxxxx>
Date: Thu, 26 Jan 2012 12:04:50 +0100
> 2012/1/26 David Miller <davem@xxxxxxxxxxxxx>:
>> From: Stefan Gula <steweg@xxxxxxx>
>> Date: Wed, 25 Jan 2012 09:48:54 +0100 (CET)
>>
>>> + if (vlan->mode == MACVLAN_MODE_SOURCE &&
>>> + vlan->mode != nla_get_u32(data[IFLA_MACVLAN_MODE]))
>> ...
>>> + if (data && data[IFLA_MACVLAN_MACADDR_MODE] &&
>>> + data[IFLA_MACVLAN_MACADDR]) {
>> ...
>>> + return macvlan_hash_add_sources(vlan,
>>> + nla_data(data[IFLA_MACVLAN_MACADDR]));
>> ...
>>> + hlist_for_each_entry_rcu(list, n,
>>> + &vlan->port->vlan_source_hash[i], hlist) {
>> ...
>>> + hlist_for_each_entry_rcu(list, n,
>>> + &vlan->port->vlan_source_hash[i], hlist) {
>>
>> Line things up on subsequent lines to the column right after the
>> openning parenthesis on the previous line.
>>
>> If things are indented too deeply, you need to write helper functions.
> Just to be sure, how many "\t" symbols are ok in patches? I want to
> avoid similar thing in future.
Keep it not to far past 80 columns.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion]
[Ethernet Bridging]
[Linux Wireless Networking]
[Linux Bluetooth Networking]
[Linux Networking Users]
[VLAN]
[Git]
[IETF Annouce]
[Linux Assembly]
[Security]
[Bugtraq]
[Photo]
[Singles Social Networking]
[Yosemite Information]
[MIPS Linux]
[ARM Linux Kernel]
[ARM Linux]
[Linux Virtualization]
[Linux Security]
[Linux IDE]
[Linux RAID]
[Linux SCSI]
[Free Dating]