diff options
author | jkh <jkh@FreeBSD.org> | 1999-12-13 01:57:00 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-12-13 01:57:00 +0000 |
commit | ce079123e3550908356dfbaf3f42672876a55777 (patch) | |
tree | 123e328319b9797e7b713b3769a9cd2f8d41deed /sys/net/if_vlan_var.h | |
parent | 72de1aee50403c65a63d9fd52176203f003a5441 (diff) | |
download | FreeBSD-src-ce079123e3550908356dfbaf3f42672876a55777.zip FreeBSD-src-ce079123e3550908356dfbaf3f42672876a55777.tar.gz |
The current code incorrectly assumes that all vlans
are configured, and/or associated with a parent device. If you
receive a frame for a VLAN that's not in the list, you walk off
the end of the list. Boom.
Submitted by: C. Stephen Gunn <csg@waterspout.com>
PR: 15291
Diffstat (limited to 'sys/net/if_vlan_var.h')
-rw-r--r-- | sys/net/if_vlan_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_vlan_var.h b/sys/net/if_vlan_var.h index a9679ea..1427b34 100644 --- a/sys/net/if_vlan_var.h +++ b/sys/net/if_vlan_var.h @@ -85,7 +85,7 @@ struct vlanreq { /* shared with if_ethersubr.c: */ extern u_int vlan_proto; extern int vlan_input(struct ether_header *eh, struct mbuf *m); -extern void vlan_input_tag(struct ether_header *eh, +extern int vlan_input_tag(struct ether_header *eh, struct mbuf *m, u_int16_t t); #endif |