aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-07-14 20:31:37 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-07-14 20:31:37 +0000
commit6f7d64c44a955abde726155b15e29f66a87e21ad (patch)
tree4c6c3726227b0983ffa96b0afac3ad6740f5fb0c /sys/netgraph
parentc61340f374d73fee98e97198156adf86239b11b4 (diff)
downloadsrc-6f7d64c44a955abde726155b15e29f66a87e21ad.tar.gz
src-6f7d64c44a955abde726155b15e29f66a87e21ad.zip
Add a note indicating that the eh_prototype field used to construct
ethernet headers is unsynchronized.
Notes
Notes: svn path=/head/; revision=132164
Diffstat (limited to 'sys/netgraph')
-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 31287da63710..8396e8d22910 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},