]> git.baikalelectronics.ru Git - kernel.git/commit
net: correctly interlink lower/upper devices
authorVeaceslav Falico <vfalico@redhat.com>
Mon, 2 Sep 2013 14:26:51 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 04:27:26 +0000 (00:27 -0400)
commit093e52ffcf1a73ecbb8b3df31d0c2853b72ab260
tree7aa33e21ae567be231c016334db1b146e75a776b
parentae81f0e02de739ccc247e0a13ae1c2c3fc004569
net: correctly interlink lower/upper devices

Currently we're linking upper devices to lower ones, which results in
upside-down relationship: upper devices seeing lower devices via its upper
lists.

Fix this by correctly linking lower devices to the upper ones.

CC: "David S. Miller" <davem@davemloft.net>
CC: Eric Dumazet <edumazet@google.com>
CC: Jiri Pirko <jiri@resnulli.us>
CC: Alexander Duyck <alexander.h.duyck@intel.com>
CC: Cong Wang <amwang@redhat.com>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c