From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: bridge-utils: wrong sysfs path odds Date: Tue, 24 Nov 2015 16:37:35 -0800 Message-ID: <20151124163735.6f9ad756@xeon-e3> References: <5654FD93.1070706@nod.at> <5654FFCF.2080801@nod.at> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" , Ralf Baechle , manty@debian.org To: Richard Weinberger Return-path: Received: from mail-pa0-f51.google.com ([209.85.220.51]:34890 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755395AbbKYAh0 (ORCPT ); Tue, 24 Nov 2015 19:37:26 -0500 Received: by pacej9 with SMTP id ej9so38199609pac.2 for ; Tue, 24 Nov 2015 16:37:26 -0800 (PST) In-Reply-To: <5654FFCF.2080801@nod.at> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 25 Nov 2015 01:24:47 +0100 Richard Weinberger wrote: > Am 25.11.2015 um 01:15 schrieb Richard Weinberger: > > Hi! > > > > Today I was hunting down an issue where "brctl stp br0 off" > > always failed on mips64be with n32 userland. > > > > It turned out that the ioctl(fd, SIOCDEVPRIVATE, &ifr) with BRCTL_SET_BRIDGE_STP_STATE > > returned -EOPNOTSUPP. > > First I thought that this is a plain ABI issue on mips as in old_dev_ioctl() > > the ioctl() argument was 0x1 instead of the expected BRCTL_SET_BRIDGE_STP_STATE (0x14) > > Should be 0xe and not 0x14. It is 14 in decimal. :) > > Thanks, > //richard Ask Debian maintainer to send his patches, I don't go patch hunting.