"Fossies" - the Fresh Open Source Software Archive

Member "aoe-aoe6-86/conf/15-patches/old-new.diff" (4 Jul 2015, 902 Bytes) of archive /linux/misc/aoe-aoe6-86.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 --- aoe6-stand/linux/drivers/block/aoe/aoecmd.c.20070815    2007-08-15 17:29:30.000000000 -0400
    2 +++ aoe6-stand/linux/drivers/block/aoe/aoecmd.c 2007-08-15 16:01:53.000000000 -0400
    3 @@ -37,22 +37,6 @@ static struct {
    4     spinlock_t lock;
    5  } iocq;
    6  
    7 -static void
    8 -skb_reset_network_header(struct sk_buff *skb)
    9 -{
   10 -   skb->nh.raw = skb->data;
   11 -}
   12 -static void
   13 -skb_reset_mac_header(struct sk_buff *skb)
   14 -{
   15 -   skb->mac.raw = skb->data;
   16 -}
   17 -void *
   18 -skb_mac_header(struct sk_buff *skb)
   19 -{
   20 -   return skb->mac.raw;
   21 -}
   22 -
   23  static struct sk_buff *
   24  new_skb(ulong len)
   25  {
   26 --- aoe6-83+/linux/drivers/block/aoe/aoenet.c   2013-05-30 14:20:22.000000000 -0400
   27 +++ aoe6-83+/linux/drivers/block/aoe/aoenet.c.orig  2013-05-30 14:28:23.000000000 -0400
   28 @@ -49,8 +49,6 @@
   29  static spinlock_t txlock;
   30  static struct sk_buff_head skbtxq;
   31  
   32 -void *skb_mac_header(struct sk_buff *skb);
   33 -
   34  /* enters with txlock held */
   35  static int
   36  tx(int id)