diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-07-14 20:31:37 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-07-14 20:31:37 +0000 |
commit | 90f985ccebc82e28f946d1d65556d58edf3e3d36 (patch) | |
tree | 4c6c3726227b0983ffa96b0afac3ad6740f5fb0c | |
parent | 1ec4fa638a46111fc03087cf5121e7929c26e76e (diff) | |
download | FreeBSD-src-90f985ccebc82e28f946d1d65556d58edf3e3d36.zip FreeBSD-src-90f985ccebc82e28f946d1d65556d58edf3e3d36.tar.gz |
Add a note indicating that the eh_prototype field used to construct
ethernet headers is unsynchronized.
-rw-r--r-- | sys/netgraph/ng_pppoe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c index 31287da..8396e8d 100644 --- a/sys/netgraph/ng_pppoe.c +++ b/sys/netgraph/ng_pppoe.c @@ -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}, |