commit | 775dd692bd34f9201ed2aa775a0edcba4f973f3e | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Tue Sep 30 16:13:19 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 01 22:03:50 2014 -0400 |
tree | 65c977fb1c697077c0fa4e2506e1847d3899133b | |
parent | a0efb80ce3abacfd22a4284c3730924fc2f1f077 [diff] |
net: bridge: add a br_set_state helper function In preparation for being able to propagate port states to e.g: notifiers or other kernel parts, do not manipulate the port state directly, but instead use a helper function which will allow us to do a bit more than just setting the state. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>