Add a note indicating that the eh_prototype field used to construct

ethernet headers is unsynchronized.
This commit is contained in:
Robert Watson 2004-07-14 20:31:37 +00:00
parent c61340f374
commit 6f7d64c44a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132164

View File

@ -238,6 +238,10 @@ struct PPPOE {
};
typedef struct PPPOE *priv_p;
/*
* XXXRW: Leave this unsynchronized, since only a single field is modified,
* and it's done so infrequently. Likewise, pppoe_mode.
*/
struct ether_header eh_prototype =
{{0xff,0xff,0xff,0xff,0xff,0xff},
{0x00,0x00,0x00,0x00,0x00,0x00},