]> git.baikalelectronics.ru Git - kernel.git/commit
802.3ad: use standard ethhdr instead of ad_header
authorHolger Eitzenberger <holger@eitzenberger.org>
Fri, 26 Dec 2008 21:41:53 +0000 (13:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 21:41:53 +0000 (13:41 -0800)
commit827c13383845d1860e50a0c36e5741250ca030ff
treeb73d6246806b01e2384d84d273cfdb48c6d74891
parent02976f4083641280daa07ad38c65b4a86467f346
802.3ad: use standard ethhdr instead of ad_header

802.3ad has its own ethhdr-like structure in the form of an ad_header,
which is at the start of both the LACPDU and marker PDU.  Both are
the same from the struct values, both are packed as well.

It's therefore perfectly fine to replace the ad_header by the ethhdr
and to remove its definition.

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_3ad.h