"Fossies" - the Fresh Open Source Software Archive

Member "aoe-aoe6-86/conf/19-patches/nd_net-dev_net.diff" (4 Jul 2015, 457 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 diff -upr nd_net/linux/drivers/block/aoe/aoenet.c dev_net/linux/drivers/block/aoe/aoenet.c
    2 --- nd_net/linux/drivers/block/aoe/aoenet.c 2008-08-19 13:27:26.000000000 -0400
    3 +++ dev_net/linux/drivers/block/aoe/aoenet.c    2008-08-19 11:29:29.000000000 -0400
    4 @@ -169,7 +169,7 @@ aoenet_rcv(struct sk_buff *skb, struct n
    5     u32 n;
    6     int sn;
    7  
    8 -   if (ifp->nd_net != &init_net)
    9 +   if (dev_net(ifp) != &init_net)
   10         goto exit;
   11  
   12     skb = skb_share_check(skb, GFP_ATOMIC);