Bug 185756

Summary: linux/if_vlan.h does not include vlan packet header
Product: [Fedora] Fedora Reporter: David Acker <dacker>
Component: glibc-kernheadersAssignee: David Woodhouse <dwmw2>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-18 13:00:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Acker 2006-03-17 17:05:31 UTC
Description of problem:
The version of linux/if_vlan.h put in /user/include by glibc-kernheaders does
not include the header structure for an ethernet packet with a VLAN tag.  The
kernel version of if_vlah.h does. It makes sense to include this since the user
space if_ether.h includes the ethernet packet header.
This header can be read by a user space program use raw sockets (PF_PACKET,
SOCK_RAW).

Version-Release number of selected component (if applicable):
seen in glibc-kernheaders-2.4-9.1.94 through glibc-kernheaders-3.0-5.2.

Comment 1 David Acker 2006-03-20 13:45:59 UTC
I contacted the maintainer for the kernel version of if_vlan.h and he agreed to
move the appropriate defines out of the ifdef __KERNEL__ section they are
currently in.

Comment 2 David Acker 2006-04-05 13:57:13 UTC
At the maintainer's request I have submitted a patch to netdev.
http://www.spinics.net/lists/netdev/msg02468.html

Comment 3 David Acker 2006-04-18 13:00:12 UTC
Second post of patch was here:
http://www.spinics.net/lists/netdev/msg02625.html

Third post of patch was here:
http://www.spinics.net/lists/netdev/msg02627.html

The end result is that the patch was not accepted.  It is believed that this
belongs in a pure user space header like in a glibc header.  Thus I am closing
this bug.