[openib-general] Re: [PATCH] sockaddr_ll change for IPoIB interface
David S. Miller
davem at davemloft.net
Thu Aug 11 12:49:16 PDT 2005
From: Hal Rosenstock <halr at voltaire.com>
Date: 11 Aug 2005 14:48:37 -0400
> The patch below is to accomodate IPoIB link layer address in the
> sockaddr_ll struct so that user space can send and receive IPoIB link
> later packets. Unfortunately, IPoIB has 20 bytes LL addresses rather
> than the 8 byte MAC addresses (or under) used by other LLs.
Two problems. 1) it's a really ugly IPoIB specific hack to extend the
sockaddr_ll structure, it won't work for anything else without adding
more special tests to that af_packet.c code and 2) you inproperly
rooted your patch, so we get stuff like this:
> --- af_packet.c.orig 2005-06-29 19:00:53.000000000 -0400
> +++ af_packet.c 2005-08-05 13:28:49.000000000 -0400
Please find another way to extend the structure.
That's why I didn't respond, this patch was too ugly for words
so it went to the bottom of my prioritized list of things to
do.
More information about the general
mailing list