Bug 13348
Summary: | [PATCH]Unable to clone tagged VLAN interface for use with macvlan driver | ||
---|---|---|---|
Product: | Networking | Reporter: | sg.tweak |
Component: | IPV4 | Assignee: | Stephen Hemminger (stephen) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | akpm, alan, rjw, sg.tweak |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.29.3 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | macvlan driver patch fixes invalid header length |
Description
sg.tweak
2009-05-20 00:52:15 UTC
Problem solved. Macvlan driver is always use standard ethernet header length for all types of interface to which it is linked. This patch fixes this problem (tested on 2.6.29.3 and 2.6.29.4 kernels): --- a/drivers/net/macvlan.c 2009-05-09 01:47:21.000000000 +0300 +++ b/drivers/net/macvlan.c 2009-05-20 17:40:29.000000000 +0300 @@ -311,6 +311,7 @@ (lowerdev->state & MACVLAN_STATE_MASK); dev->features = lowerdev->features & MACVLAN_FEATURES; dev->iflink = lowerdev->ifindex; + dev->hard_header_len = lowerdev->hard_header_len; macvlan_set_lockdep_class(dev); Created attachment 21456 [details]
macvlan driver patch fixes invalid header length
Please send a copy of the patch and a Signed-off-by: line (see Documentation/SubmittingPatches) to netdev@vger.kernel.org for Dave Miller to pick up. Patch is not yet merged (In reply to comment #4) > Patch is not yet merged Yes, and that's why I didn't close the bug. There's no sign of the reporter on netdev - reporters will often disappear. I rescued the fix - thanks. |