Bernhard Fischer
2008-May-02 09:01 UTC
[Bridge] [RFA, PATCH] enable transition to sysfs-only bridge manipulation
Hi, It was rumored that the ioctl interface for bridges is deprecated. There is, however, one crucial gap when trying to implement brctl without using any ioctl: AFAICS it is impossible to create a bridge via sysfs. The attached quick.. erm patch strives to fill this gap. Some further details are at the top of the patchlet which received only cursory testing, fwiw. Thanks and cheers, Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: linux-2.6.25-brctrl-sysfs-fixup.01.diff Type: text/x-diff Size: 3319 bytes Desc: not available Url : http://lists.linux-foundation.org/pipermail/bridge/attachments/20080502/f6e905bc/attachment.diff
Stephen Hemminger
2008-May-02 15:17 UTC
[Bridge] [RFA, PATCH] enable transition to sysfs-only bridge manipulation
On Fri, 2 May 2008 11:01:38 +0200 Bernhard Fischer <rep.dot.nop at gmail.com> wrote:> Hi, > > It was rumored that the ioctl interface for bridges is deprecated. > There is, however, one crucial gap when trying to implement brctl > without using any ioctl: AFAICS it is impossible to create a bridge via > sysfs. > > The attached quick.. erm patch strives to fill this gap. > Some further details are at the top of the patchlet which received only > cursory testing, fwiw. > > Thanks and cheers, > BernhardWhy bother. The old API has to live on because it part of the kernel ABI.