ar71xx: fix NULL pointer dereference in the ethernet driver
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.31 / 200-sched_esfq.patch
index f72c0e3..fb28e90 100644 (file)
 +              break;
 +      }
 +      default:
 +              break;
 +      }
 +      default:
-+              info.dst   = (u32)(unsigned long)skb->dst;
++              info.dst   = (u32)(unsigned long)skb_dst(skb);
 +              info.src   = (u32)(unsigned long)skb->sk;
 +              info.proto = skb->protocol;
 +      }
 +              info.src   = (u32)(unsigned long)skb->sk;
 +              info.proto = skb->protocol;
 +      }
This page took 0.02806 seconds and 4 git commands to generate.