Signed-off-by: Jiri Pirko
---
include/linux/netdevice.h | 6 +
net/core/dev.c| 63 ---
2 files changed, 1 insertion(+), 68 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 52d1146..c3723ef 100644
Signed-off-by: Jiri Pirko
---
drivers/infiniband/hw/nes/nes.c| 8 +---
drivers/infiniband/hw/nes/nes_cm.c | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index 748db2d..d129c36 100644
--- a/drivers
Signed-off-by: Jiri Pirko
---
net/core/netpoll.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index 3151acf..d2bda8e 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -210,9 +210,12 @@ static void netpoll_poll_dev
Signed-off-by: Jiri Pirko
---
net/bridge/br_if.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index 1edd71d..2148d47 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -148,7 +148,7 @@ static void del_nbp(struct
dev->master, it is marked with "master" flag.
New upper device list resolves this limitation. Also, the information
stored in lists is used for preventing looping setups like
"bond->somethingelse->samebond"
Signed-off-by: Jiri Pirko
---
include/linux/netde
-master, it is marked with master flag.
New upper device list resolves this limitation. Also, the information
stored in lists is used for preventing looping setups like
bond-somethingelse-samebond
Signed-off-by: Jiri Pirko j...@resnulli.us
---
include/linux/netdevice.h | 14 +++
net/core/dev.c
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/bridge/br_if.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index 1edd71d..2148d47 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -148,7 +148,7 @@ static void
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/core/netpoll.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index 3151acf..d2bda8e 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -210,9 +210,12 @@ static void
Signed-off-by: Jiri Pirko j...@resnulli.us
---
include/linux/netdevice.h | 6 +
net/core/dev.c| 63 ---
2 files changed, 1 insertion(+), 68 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 52d1146
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/infiniband/hw/nes/nes.c| 8 +---
drivers/infiniband/hw/nes/nes_cm.c | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index 748db2d..d129c36 100644
rcu_read_lock was missing here
Signed-off-by: Jiri Pirko j...@resnulli.us
Acked-by: Sony Chacko sony.cha...@qlogic.com
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
b/drivers/net
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/team/team.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index 918a901..3df5cc1 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
15 (WARN_ON change) is squashed into the first patch
Jiri Pirko (15):
net: introduce upper device lists
macvlan: add link to upper device
vlan: add link to upper device
rtnetlink: remove usage of dev-master
team: remove usage of netdev_set_master()
bridge: remove usage
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
index 942dace
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/macvlan.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index 68a43fe..b7b614f 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -765,16 +765,22
Nobody uses this now. Remove it.
Signed-off-by: Jiri Pirko j...@resnulli.us
---
include/linux/netdevice.h | 4
1 file changed, 4 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c3723ef..009bad3 100644
--- a/include/linux/netdevice.h
+++ b/include/linux
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/8021q/vlan.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index a292e80..babfde9 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -105,6 +105,8 @@ void
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/core/rtnetlink.c | 69
1 file changed, 37 insertions(+), 32 deletions(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 2ef7a56..ae612f4 100644
--- a/net/core/rtnetlink.c
+++ b
Also, since all users call __vlan_find_dev_deep() with rcu_read_lock,
make no possibility to call this with rtnl mutex held only.
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/8021q/vlan_core.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/net/8021q
Also benefit from rcu_read_lock held and use __in_dev_get_rcu() in ipv4 case.
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/s390/net/qeth_l3_main.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390
Benefit from new upper dev list and free bonding from dev-master usage.
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/bonding/bond_3ad.c | 30 ++---
drivers/net/bonding/bond_alb.c | 6 +--
drivers/net/bonding/bond_main.c | 94
Tue, Oct 23, 2012 at 10:02:50PM CEST, keesc...@chromium.org wrote:
>This config item has not carried much meaning for a while now and is
>almost always enabled by default. As agreed during the Linux kernel
>summit, remove it.
>
>CC: Jiri Pirko
I wanted to do this anyway.
Acked
Tue, Oct 23, 2012 at 10:02:50PM CEST, keesc...@chromium.org wrote:
This config item has not carried much meaning for a while now and is
almost always enabled by default. As agreed during the Linux kernel
summit, remove it.
CC: Jiri Pirko jpi...@redhat.com
I wanted to do this anyway.
Acked
Thu, Oct 11, 2012 at 04:28:40PM CEST, jstan...@rmrf.net wrote:
>Since commit cc0e40700656b09d93b062ef6c818aa45429d09a, there is a
>problem if you have the 8021q module loaded and you then attempt to
>enslave a VLAN challenged interface. This is because VLAN 0 is
>automatically added to the bond,
Thu, Oct 11, 2012 at 04:28:40PM CEST, jstan...@rmrf.net wrote:
Since commit cc0e40700656b09d93b062ef6c818aa45429d09a, there is a
problem if you have the 8021q module loaded and you then attempt to
enslave a VLAN challenged interface. This is because VLAN 0 is
automatically added to the bond, and
Tue, Sep 18, 2012 at 02:38:52AM CEST, mlind...@marvell.com wrote:
>>Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote:
>>>On Mon, 17 Sep 2012 17:10:17 +0200
>>>Jiri Pirko wrote:
>>>
>>>> In my case I have following problem. sky2_set_mul
Tue, Sep 18, 2012 at 02:38:52AM CEST, mlind...@marvell.com wrote:
Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote:
On Mon, 17 Sep 2012 17:10:17 +0200
Jiri Pirko j...@resnulli.us wrote:
In my case I have following problem. sky2_set_multicast() sets registers
GM_MC_ADDR_H[1-4
Wed, Sep 19, 2012 at 10:22:48PM CEST, shemmin...@vyatta.com wrote:
>Rather than saving and restoring values, why not just redo the
>full setup? This would also determine if the change was a result
>of something outside the driver.
You cannot call sky2_set_multicast() directly here. It is called
Wed, Sep 19, 2012 at 10:22:48PM CEST, shemmin...@vyatta.com wrote:
Rather than saving and restoring values, why not just redo the
full setup? This would also determine if the change was a result
of something outside the driver.
You cannot call sky2_set_multicast() directly here. It is called from
Tue, Sep 18, 2012 at 02:38:52AM CEST, mlind...@marvell.com wrote:
>>Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote:
>>>On Mon, 17 Sep 2012 17:10:17 +0200
>>>Jiri Pirko wrote:
>>>
>>>> In my case I have following problem. sky2_set_mul
Mon, Sep 17, 2012 at 11:15:07PM CEST, shemmin...@vyatta.com wrote:
>On Mon, 17 Sep 2012 22:47:24 +0200
>Jiri Pirko wrote:
>
>> Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote:
>> >On Mon, 17 Sep 2012 17:10:17 +0200
>> >Jiri Pirko wrote:
>&
Mon, Sep 17, 2012 at 11:15:07PM CEST, shemmin...@vyatta.com wrote:
On Mon, 17 Sep 2012 22:47:24 +0200
Jiri Pirko j...@resnulli.us wrote:
Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote:
On Mon, 17 Sep 2012 17:10:17 +0200
Jiri Pirko j...@resnulli.us wrote:
In my case I
Tue, Sep 18, 2012 at 02:38:52AM CEST, mlind...@marvell.com wrote:
Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote:
On Mon, 17 Sep 2012 17:10:17 +0200
Jiri Pirko j...@resnulli.us wrote:
In my case I have following problem. sky2_set_multicast() sets registers
GM_MC_ADDR_H[1-4
Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote:
>On Mon, 17 Sep 2012 17:10:17 +0200
>Jiri Pirko wrote:
>
>> In my case I have following problem. sky2_set_multicast() sets registers
>> GM_MC_ADDR_H[1-4] correctly to:
>> 0800 0001 0410
>>
to receive packets with dst mac
01:80:C2:00:00:02 (LACPDU dst mac), which I set up previously by
SIOCADDMULTI.
So remember computed rx_filter data and write it to GM_MC_ADDR_H[1-4] on
link_up.
Signed-off-by: Jiri Pirko
---
drivers/net/ethernet/marvell/sky2.c | 30 ++
drivers
to receive packets with dst mac
01:80:C2:00:00:02 (LACPDU dst mac), which I set up previously by
SIOCADDMULTI.
So remember computed rx_filter data and write it to GM_MC_ADDR_H[1-4] on
link_up.
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/ethernet/marvell/sky2.c | 30
Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote:
On Mon, 17 Sep 2012 17:10:17 +0200
Jiri Pirko j...@resnulli.us wrote:
In my case I have following problem. sky2_set_multicast() sets registers
GM_MC_ADDR_H[1-4] correctly to:
0800 0001 0410
However, when adapter gets link
Thu, Aug 16, 2012 at 12:15:49AM CEST, da...@davemloft.net wrote:
>From: Jiri Pirko
>Date: Wed, 15 Aug 2012 09:46:12 +0200
>
>> You are probably right. I'm not sure how to handle this correctly
>> though. Adding some hard limit number might not be correct.
>
>I
Wed, Aug 15, 2012 at 12:33:44AM CEST, bhutchi...@solarflare.com wrote:
>On Tue, 2012-08-14 at 17:05 +0200, Jiri Pirko wrote:
>> This lists are supposed to serve for storing pointers to all upper devices.
>> Eventually it will replace dev->master pointer which is used for
>&g
Tue, Aug 14, 2012 at 10:32:53PM CEST, bhutchi...@solarflare.com wrote:
>On Tue, 2012-08-14 at 16:19 -0400, Andy Gospodarek wrote:
>> On Tue, Aug 14, 2012 at 05:05:33PM +0200, Jiri Pirko wrote:
>> > Hi all.
>> >
>> > Recent discussion around
>> >
Tue, Aug 14, 2012 at 10:32:53PM CEST, bhutchi...@solarflare.com wrote:
On Tue, 2012-08-14 at 16:19 -0400, Andy Gospodarek wrote:
On Tue, Aug 14, 2012 at 05:05:33PM +0200, Jiri Pirko wrote:
Hi all.
Recent discussion around
[net-next] bonding: don't allow the master to become its slave
Wed, Aug 15, 2012 at 12:33:44AM CEST, bhutchi...@solarflare.com wrote:
On Tue, 2012-08-14 at 17:05 +0200, Jiri Pirko wrote:
This lists are supposed to serve for storing pointers to all upper devices.
Eventually it will replace dev-master pointer which is used for
bonding, bridge, team
Thu, Aug 16, 2012 at 12:15:49AM CEST, da...@davemloft.net wrote:
From: Jiri Pirko j...@resnulli.us
Date: Wed, 15 Aug 2012 09:46:12 +0200
You are probably right. I'm not sure how to handle this correctly
though. Adding some hard limit number might not be correct.
I would just use a hard limit
Signed-off-by: Jiri Pirko
---
drivers/net/macvlan.c |9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index 66a9bfe..f5bd8a2 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -765,16 +765,22 @@ int
Signed-off-by: Jiri Pirko
---
net/core/rtnetlink.c | 44
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 34d975b..4d41682 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
Signed-off-by: Jiri Pirko
---
net/bridge/br_if.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index e1144e1..8bea645 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -148,7 +148,7 @@ static void del_nbp(struct
Signed-off-by: Jiri Pirko
---
net/8021q/vlan.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index 9096bcb..2dca0fa 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -105,6 +105,8 @@ void unregister_vlan_dev(struct
dev->master, it is marked with "master" flag.
New upper device list resolves this limitation. Also, the information
stored in lists is used for preventing looping setups like
"bond->somethingelse->samebond"
Signed-off-by: Jiri Pirko
---
include/linux/netdev
Also benefit from rcu_read_lock held and use __in_dev_get_rcu() in ipv4 case.
Signed-off-by: Jiri Pirko
---
drivers/s390/net/qeth_l3_main.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net
Also, since all users call __vlan_find_dev_deep() with rcu_read_lock,
make no possibility to call this with rtnl mutex held only.
Signed-off-by: Jiri Pirko
---
net/8021q/vlan_core.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/net/8021q/vlan_core.c b
Benefit from new upper dev list and free bonding from dev->master usage.
Signed-off-by: Jiri Pirko
---
drivers/net/bonding/bond_3ad.c | 30 ++---
drivers/net/bonding/bond_alb.c |6 +--
drivers/net/bonding/bond_main.c | 94 +++
drivers/
Signed-off-by: Jiri Pirko
---
include/linux/netdevice.h |6 +
net/core/dev.c| 63 -
2 files changed, 1 insertion(+), 68 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 95345d4..c689593 100644
Signed-off-by: Jiri Pirko
---
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
index 2dbbcbb..720425d
Nobody uses this now. Remove it.
Signed-off-by: Jiri Pirko
---
include/linux/netdevice.h |4
1 file changed, 4 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c689593..8459f72 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
Signed-off-by: Jiri Pirko
---
drivers/infiniband/hw/nes/nes.c|8 +---
drivers/infiniband/hw/nes/nes_cm.c |2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index 7140199..6686251 100644
rcu_read_lock was missing here
Signed-off-by: Jiri Pirko
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
index 212c121..9eadf17
Signed-off-by: Jiri Pirko
---
net/core/netpoll.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index b4c90e4..1f457a6 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -207,12 +207,16 @@ static void
Signed-off-by: Jiri Pirko
---
drivers/net/team/team.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index ba10c46..dabddc5 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -1040,10
qeth would benefit by this
in future by being able to get more appropriate info about l3 addresses.
v1->v2:
- s/unique/master/ better naming + stays closer to the history
- fixed vlan err goto
- original patch 15 (WARN_ON change) is squashed into the first patch
- fixed netdev_unique_upper_dev
Tue, Aug 14, 2012 at 03:14:00PM CEST, f...@redhat.com wrote:
>On Tue, 14 Aug 2012 14:24:33 +0200
>Jiri Pirko wrote:
>
>> Mon, Aug 13, 2012 at 07:52:17PM CEST, f...@redhat.com wrote:
>> >On Mon, 13 Aug 2012 17:27:00 +0200
>> >Jiri Pirko wrote:
>> >> +
Mon, Aug 13, 2012 at 07:52:17PM CEST, f...@redhat.com wrote:
>On Mon, 13 Aug 2012 17:27:00 +0200
>Jiri Pirko wrote:
>
>> This lists are supposed to serve for storing pointers to all upper devices.
>> Eventually it will replace dev->master pointer which is used for
Tue, Aug 14, 2012 at 11:02:33AM CEST, xiyou.wangc...@gmail.com wrote:
>On 08/13/2012 11:27 PM, Jiri Pirko wrote:
>>This lists are supposed to serve for storing pointers to all upper devices.
>>Eventually it will replace dev->master pointer which is used for
>>bonding, br
Mon, Aug 13, 2012 at 09:04:21PM CEST, f...@redhat.com wrote:
>On Mon, 13 Aug 2012 17:27:02 +0200
>Jiri Pirko wrote:
>
>> Signed-off-by: Jiri Pirko
>> ---
>> net/8021q/vlan.c | 10 +-
>> 1 file changed, 9 insertions(+), 1 deletion(-)
>>
>&
Mon, Aug 13, 2012 at 09:04:21PM CEST, f...@redhat.com wrote:
On Mon, 13 Aug 2012 17:27:02 +0200
Jiri Pirko j...@resnulli.us wrote:
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/8021q/vlan.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/net/8021q
Tue, Aug 14, 2012 at 11:02:33AM CEST, xiyou.wangc...@gmail.com wrote:
On 08/13/2012 11:27 PM, Jiri Pirko wrote:
This lists are supposed to serve for storing pointers to all upper devices.
Eventually it will replace dev-master pointer which is used for
bonding, bridge, team but it cannot be used
Mon, Aug 13, 2012 at 07:52:17PM CEST, f...@redhat.com wrote:
On Mon, 13 Aug 2012 17:27:00 +0200
Jiri Pirko j...@resnulli.us wrote:
This lists are supposed to serve for storing pointers to all upper devices.
Eventually it will replace dev-master pointer which is used for
bonding, bridge, team
Tue, Aug 14, 2012 at 03:14:00PM CEST, f...@redhat.com wrote:
On Tue, 14 Aug 2012 14:24:33 +0200
Jiri Pirko j...@resnulli.us wrote:
Mon, Aug 13, 2012 at 07:52:17PM CEST, f...@redhat.com wrote:
On Mon, 13 Aug 2012 17:27:00 +0200
Jiri Pirko j...@resnulli.us wrote:
+ /*
+ * To prevent loops
appropriate info about l3 addresses.
v1-v2:
- s/unique/master/ better naming + stays closer to the history
- fixed vlan err goto
- original patch 15 (WARN_ON change) is squashed into the first patch
- fixed netdev_unique_upper_dev_get_rcu() case of upper==NULL
Jiri Pirko (15):
net: introduce
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/team/team.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index ba10c46..dabddc5 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/core/netpoll.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index b4c90e4..1f457a6 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -207,12 +207,16 @@ static
rcu_read_lock was missing here
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
index
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/infiniband/hw/nes/nes.c|8 +---
drivers/infiniband/hw/nes/nes_cm.c |2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index 7140199..6686251
Nobody uses this now. Remove it.
Signed-off-by: Jiri Pirko j...@resnulli.us
---
include/linux/netdevice.h |4
1 file changed, 4 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c689593..8459f72 100644
--- a/include/linux/netdevice.h
+++ b/include
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
index
Signed-off-by: Jiri Pirko j...@resnulli.us
---
include/linux/netdevice.h |6 +
net/core/dev.c| 63 -
2 files changed, 1 insertion(+), 68 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 95345d4
Benefit from new upper dev list and free bonding from dev-master usage.
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/bonding/bond_3ad.c | 30 ++---
drivers/net/bonding/bond_alb.c |6 +--
drivers/net/bonding/bond_main.c | 94
Also, since all users call __vlan_find_dev_deep() with rcu_read_lock,
make no possibility to call this with rtnl mutex held only.
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/8021q/vlan_core.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/net
Also benefit from rcu_read_lock held and use __in_dev_get_rcu() in ipv4 case.
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/s390/net/qeth_l3_main.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers
-master, it is marked with master flag.
New upper device list resolves this limitation. Also, the information
stored in lists is used for preventing looping setups like
bond-somethingelse-samebond
Signed-off-by: Jiri Pirko j...@resnulli.us
---
include/linux/netdevice.h | 14 +++
net/core/dev.c
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/8021q/vlan.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index 9096bcb..2dca0fa 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -105,6 +105,8 @@ void
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/bridge/br_if.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index e1144e1..8bea645 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -148,7 +148,7 @@ static void
Signed-off-by: Jiri Pirko j...@resnulli.us
---
net/core/rtnetlink.c | 44
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 34d975b..4d41682 100644
--- a/net/core/rtnetlink.c
+++ b/net
Signed-off-by: Jiri Pirko j...@resnulli.us
---
drivers/net/macvlan.c |9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index 66a9bfe..f5bd8a2 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -765,16
Mon, Aug 13, 2012 at 07:15:31PM CEST, bhutchi...@solarflare.com wrote:
>On Mon, 2012-08-13 at 17:27 +0200, Jiri Pirko wrote:
>> Signed-off-by: Jiri Pirko
>> ---
>> net/core/dev.c |4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff
Mon, Aug 13, 2012 at 07:04:11PM CEST, bhutchi...@solarflare.com wrote:
>On Mon, 2012-08-13 at 17:27 +0200, Jiri Pirko wrote:
>> This lists are supposed to serve for storing pointers to all upper devices.
>> Eventually it will replace dev->master pointer which is used for
>&g
list resolves this limitation. Also, the information
stored in lists is used for preventing looping setups like
"bond->somethingelse->samebond"
Signed-off-by: Jiri Pirko
---
include/linux/netdevice.h | 14 +++
net/core/dev.c| 232 -
2
Signed-off-by: Jiri Pirko
---
net/8021q/vlan.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index 9096bcb..739665e 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -105,6 +105,8 @@ void unregister_vlan_dev(struct
Signed-off-by: Jiri Pirko
---
drivers/net/team/team.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index ba10c46..0533cbf 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -1040,10
Signed-off-by: Jiri Pirko
---
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
index 2dbbcbb..28365db
Signed-off-by: Jiri Pirko
---
net/core/netpoll.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index b4c90e4..5c8e560 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -207,12 +207,16 @@ static void
Signed-off-by: Jiri Pirko
---
net/core/rtnetlink.c | 44
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 34d975b..c341eb7 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
qeth would benefit by this
in future by being able to get more appropriate info about l3 addresses.
Jiri Pirko (16):
net: introduce upper device lists
macvlan: add link to upper device
vlan: add link to upper device
rtnetlink: remove usage of dev->master
team: remove usage of netdev_se
Also, since all users call __vlan_find_dev_deep() with rcu_read_lock,
make no possibility to call this with rtnl mutex held only.
Signed-off-by: Jiri Pirko
---
net/8021q/vlan_core.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/net/8021q/vlan_core.c b
Benefit from new upper dev list and free bonding from dev->master usage.
Signed-off-by: Jiri Pirko
---
drivers/net/bonding/bond_3ad.c | 30 ++---
drivers/net/bonding/bond_alb.c |6 +--
drivers/net/bonding/bond_main.c | 94 +++
drivers/
Nobody uses this now. Remove it.
Signed-off-by: Jiri Pirko
---
include/linux/netdevice.h |4
1 file changed, 4 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 757f627..28c5ef0 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
Signed-off-by: Jiri Pirko
---
net/core/dev.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index c0f9adb..8977404 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -5461,8 +5461,8 @@ static void rollback_registered_many(struct
Signed-off-by: Jiri Pirko
---
include/linux/netdevice.h |6 +
net/core/dev.c| 63 -
2 files changed, 1 insertion(+), 68 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index e7a07f8..757f627 100644
Signed-off-by: Jiri Pirko
---
drivers/infiniband/hw/nes/nes.c|8 +---
drivers/infiniband/hw/nes/nes_cm.c |2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index 7140199..e58e9af 100644
Also benefit from rcu_read_lock held and use __in_dev_get_rcu() in ipv4 case.
Signed-off-by: Jiri Pirko
---
drivers/s390/net/qeth_l3_main.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net
rcu_read_lock was missing here
Signed-off-by: Jiri Pirko
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
index 212c121..9eadf17
701 - 800 of 831 matches
Mail list logo