Our ARP code handles AX.25 fine, and that can include long addresses, so
either we have a live bug or it works 8). The multicast layer does have
problems with addresses over 8 bytes (MAX_ADDR_LEN).
> It works but it's ugly and overly complex. I would like to find a
> clean solution for 2.5/2.6, but it looks like it will require changes
> to the net core. I'd like to do those now so the IPoIB driver can
> just drop in cleanly later. (I want to be able to just add
> drivers/infiniband during 2.6 without and invasive changes required)
I think you need to do two things.
1. Increase MAX_ADDR_LEN
2. Add some new address setting ioctls, and ensure the old ones keep the
old address length limit. That is needed because the old caller wont
have allocated enough address space for a 20 byte address return.
You have to solve both though, and the first patch should probably be
the one to add more sensible address set/get functions.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/