Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1439894
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next] net: dsa: initialize the routing table |
| Date | 2016-07-09 06:10 +0200 |
| Message-ID | <rSRKx-6bW-3@gated-at.bofh.it> (permalink) |
| References | <rS53b-7M9-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Date: Wed, 6 Jul 2016 20:03:54 -0400 > The routing table of every switch in a tree is currently initialized to > all zeros. This is an issue since 0 is a valid port number. > > Add a DSA_RTABLE_NONE=-1 constant to initialize the signed values of the > routing table pointing to other switches. > > This fixes the device mapping of the mv88e6xxx driver where the port > pointing to the switch itself and to non-existent switches was wrongly > configured to be 0. It is now set to the expected 0xf value. > > Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next] net: dsa: initialize the routing table Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-07 02:10 +0200 Re: [PATCH net-next] net: dsa: initialize the routing table Andrew Lunn <andrew@lunn.ch> - 2016-07-07 15:30 +0200 Re: [PATCH net-next] net: dsa: initialize the routing table David Miller <davem@davemloft.net> - 2016-07-09 06:10 +0200
csiph-web