1. 09 7月, 2008 1 次提交
    • P
      vlan: avoid header copying and linearisation where possible · 11a100f8
      Patrick McHardy 提交于
      - vlan_dev_reorder_header() is only called on the receive path after
        calling skb_share_check(). This means we can use skb_cow() since
        all we need is a writable header.
      
      - vlan_dev_hard_header() includes a work-around for some apparently
        broken out of tree MPLS code. The hard_header functions can expect
        to always have a headroom of at least there own hard_header_len
        available, so the reallocation check is unnecessary.
      
      - __vlan_put_tag() can use skb_cow_head() to avoid the skb_unshare()
        copy when the header is writable.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      11a100f8
  2. 08 7月, 2008 25 次提交
  3. 07 7月, 2008 2 次提交
  4. 06 7月, 2008 12 次提交