summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_pppoe.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-07-14 20:31:37 +0000
committerrwatson <rwatson@FreeBSD.org>2004-07-14 20:31:37 +0000
commit90f985ccebc82e28f946d1d65556d58edf3e3d36 (patch)
tree4c6c3726227b0983ffa96b0afac3ad6740f5fb0c /sys/netgraph/ng_pppoe.c
parent1ec4fa638a46111fc03087cf5121e7929c26e76e (diff)
downloadFreeBSD-src-90f985ccebc82e28f946d1d65556d58edf3e3d36.zip
FreeBSD-src-90f985ccebc82e28f946d1d65556d58edf3e3d36.tar.gz
Add a note indicating that the eh_prototype field used to construct
ethernet headers is unsynchronized.
Diffstat (limited to 'sys/netgraph/ng_pppoe.c')
-rw-r--r--sys/netgraph/ng_pppoe.c4
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},
OpenPOWER on IntegriCloud