]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bridge link: add option 'self'
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sat, 6 Dec 2014 08:21:01 +0000 (00:21 -0800)
committerStephen Hemminger <shemming@brocade.com>
Wed, 24 Dec 2014 20:29:46 +0000 (12:29 -0800)
commit6fdb465869ccda91d9cc2e6f8ee3aca448df5d33
treed84edff792db2dbbf7340683b6405aa0cb54c6c6
parenta1e2e5fcee9d56f350e14b826bf928b3b52cdbf8
bridge link: add option 'self'

Currently self is set internally only if hwmode is set.
This makes it necessary for the hw to have a mode.
There is no hwmode really required to go to hardware. So, introduce
self for anybody who wants to target hardware.

v1 -> v2
    - fix a few bugs. Initialize flags to zero: this was required to
    keep the current behaviour unchanged.

v2 -> v3
    - fix comment

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
bridge/link.c