diff -ruN openvswitch-1.7.0/datapath/brcompat_main.c openvswitch-1.7.0.new/datapath/brcompat_main.c --- openvswitch-1.7.0/datapath/brcompat_main.c 2012-07-19 00:24:18.000000000 +0200 +++ openvswitch-1.7.0.new/datapath/brcompat_main.c 2012-07-31 13:51:47.319114805 +0200 @@ -327,6 +327,19 @@ return -ENOMEM; } +static int brc_set_bridge_forward_delay(struct net_device *dev, + unsigned long delay) +{ + printk("attempting to set bridge forward delay %u\n", delay); + return 0; +} + +static int brc_stp_set_enabled(struct net_device *dev, unsigned long state) +{ + printk("attempting to set bridge STP to %u\n", state); + return 0; +} + /* Legacy ioctl's through SIOCDEVPRIVATE. Called with rtnl_lock. */ static int old_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) { @@ -350,6 +363,11 @@ case BRCTL_GET_FDB_ENTRIES: return brc_get_fdb_entries(dev, (void __user *)args[1], args[2], args[3]); + case BRCTL_SET_BRIDGE_FORWARD_DELAY: + return brc_set_bridge_forward_delay(dev, args[1]); + + case BRCTL_SET_BRIDGE_STP_STATE: + return brc_stp_set_enabled(dev, args[1]); } return -EOPNOTSUPP;