commit | 34309d2b12bf379814b1635850bf1ed3557337d7 | [log] [tgz] |
---|---|---|
author | Corey Bryant <coreyb@linux.vnet.ibm.com> | Thu Jul 12 09:24:31 2012 -0400 |
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Wed Aug 01 12:28:51 2012 +0100 |
tree | b711bd7d2850e7f5687809b16489f77adfd4f82e | |
parent | 0b22ef0f57a8910d849602bef0940edcd0553d2c [diff] |
net: Add interface to bridge when SIOCBRADDIF isn't available The bridge helper uses the SIOCBRADDIF ioctl to add an inteface to a bridge. SIOCBRADDIF is not available on old Linux versions. This patch adds support to use the SIOCDEVPRIVATE ioctl with BRCTL_ADD_IF if SIOCBRADDIF is not available. Reported-by: Fabien Chouteau <chouteau@adacore.com> Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>