commit | 029f5fc31cdb35d6c8a7fe9a54bf21556e175988 | [log] [tgz] |
---|---|---|
author | John Fastabend <john.r.fastabend@intel.com> | Sat Oct 30 14:22:32 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 15 10:11:39 2010 -0800 |
tree | 6b30ca1d4e93095f8c0dce87f54a8f2bd55c4b53 | |
parent | 58e998c6d23988490162cef0784b19ea274d90bb [diff] |
8021q: set hard_header_len when VLAN offload features are toggled Toggling the vlan tx|rx hw offloads needs to set the hard_header_len as well otherwise we end up using LL_RESERVED_SPACE incorrectly. This results in pskb_expand_head() being used unnecessarily. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Jesse Gross <jesse@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>