Re: RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>  Ahh, I didn't copy bridge-stp to /sbin because I didn't think it was
>  needed. Just to test I blindly copied it to /sbin and did:
>   brclt addbr br0
>
>  brctl addif br0 eth0
>   brctl stp br0
>  and it hung my board :(

What did your /sbin/bridge-stp have. The file from the tarball? Try a
simple one which just does exit 0.

>  Meanwhile I got 2 patches for you:
>

I didn't realize offsetof() was in stddef.h. Thanks.

The __builtin_choose_expr stuff is there to trigger a compiler error
if I try to compare or copy two structs of different sizes. I should
just make that portion dependent on having a new enough gcc.
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux