diff options
author | Corey Bryant <coreyb@linux.vnet.ibm.com> | 2012-07-12 09:24:31 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-01 12:28:51 +0100 |
commit | 34309d2b12bf379814b1635850bf1ed3557337d7 (patch) | |
tree | b711bd7d2850e7f5687809b16489f77adfd4f82e /net/slirp.c | |
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>
Diffstat (limited to 'net/slirp.c')
0 files changed, 0 insertions, 0 deletions