1. 08 10月, 2008 1 次提交
  2. 01 10月, 2008 1 次提交
  3. 23 9月, 2008 4 次提交
  4. 22 9月, 2008 1 次提交
  5. 11 9月, 2008 2 次提交
  6. 16 8月, 2008 1 次提交
  7. 12 8月, 2008 1 次提交
  8. 01 8月, 2008 1 次提交
  9. 30 7月, 2008 1 次提交
  10. 15 7月, 2008 1 次提交
    • P
      vlan: Don't store VLAN tag in cb · 6aa895b0
      Patrick McHardy 提交于
      Use a real skb member to store the skb to avoid clashes with qdiscs,
      which are allowed to use the cb area themselves. As currently only real
      devices that consume the skb set the NETIF_F_HW_VLAN_TX flag, no explicit
      invalidation is neccessary.
      
      The new member fills a hole on 64 bit, the skb layout changes from:
      
              __u32                      mark;                 /*   172     4 */
              sk_buff_data_t             transport_header;     /*   176     4 */
              sk_buff_data_t             network_header;       /*   180     4 */
              sk_buff_data_t             mac_header;           /*   184     4 */
              sk_buff_data_t             tail;                 /*   188     4 */
              /* --- cacheline 3 boundary (192 bytes) --- */
              sk_buff_data_t             end;                  /*   192     4 */
      
              /* XXX 4 bytes hole, try to pack */
      
      to
      
              __u32                      mark;                 /*   172     4 */
              __u16                      vlan_tci;             /*   176     2 */
      
              /* XXX 2 bytes hole, try to pack */
      
              sk_buff_data_t             transport_header;     /*   180     4 */
              sk_buff_data_t             network_header;       /*   184     4 */
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6aa895b0
  11. 09 7月, 2008 1 次提交
  12. 20 6月, 2008 1 次提交
  13. 22 4月, 2008 1 次提交
  14. 21 4月, 2008 1 次提交
  15. 14 4月, 2008 4 次提交
  16. 03 4月, 2008 2 次提交
  17. 28 3月, 2008 5 次提交
  18. 06 3月, 2008 1 次提交
  19. 19 2月, 2008 1 次提交
  20. 04 2月, 2008 1 次提交
  21. 01 2月, 2008 1 次提交
  22. 29 1月, 2008 3 次提交
  23. 26 11月, 2007 1 次提交
    • H
      [SKBUFF]: Free old skb properly in skb_morph · 2d4baff8
      Herbert Xu 提交于
      The skb_morph function only freed the data part of the dst skb, but leaked
      the auxiliary data such as the netfilter fields.  This patch fixes this by
      moving the relevant parts from __kfree_skb to skb_release_all and calling
      it in skb_morph.
      
      It also makes kfree_skbmem static since it's no longer called anywhere else
      and it now no longer does skb_release_data.
      
      Thanks to Yasuyuki KOZAKAI for finding this problem and posting a patch for
      it.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      2d4baff8
  24. 11 11月, 2007 1 次提交
    • C
      [NET]: Fix skb_truesize_check() assertion · 78608ba0
      Chuck Lever 提交于
      The intent of the assertion in skb_truesize_check() is to check
      for skb->truesize being decremented too much by other code,
      resulting in a wraparound below zero.
      
      The type of the right side of the comparison causes the compiler to
      promote the left side to an unsigned type, despite the presence of an
      explicit type cast.  This defeats the check for negativity.
      
      Ensure both sides of the comparison are a signed type to prevent the
      implicit type conversion.
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      78608ba0
  25. 24 10月, 2007 1 次提交
  26. 22 10月, 2007 1 次提交