[Bridge] Re: ebtables target to disable an interface

Bart De Schuymer bdschuym at pandora.be
Mon Aug 11 16:22:04 PDT 2003


On Monday 11 August 2003 14:22, Eble, Dan wrote:
> Thanks for the advice.  Still, I would like to avoid using the log to
> communicate between the driver and a process.  What do you think of using a
> netlink socket to send a message from the bridge driver?  (Once it works,
> it could be used for spanning tree control too, as DaveM suggested a while
> back for an alternative to ioctl).
>
> The only problem is I'm not very familiar with netlink sockets.  From what
> I have heard here, though, it sounds like I have a better chance to make a
> netlink socket work properly than to shut down the port from inside the
> kernel without causing a panic, deadlock, or memory leak.

I'm not familiar with them either. But it looks like that's the best solution 
for your problem.

cheers,
Bart




More information about the Bridge mailing list