Changeset 10174


Ignore:
Timestamp:
2008-01-11T20:26:11+01:00 (9 years ago)
Author:
florian
Message:

Fix esfq compilation (#3005)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic-2.6/patches-2.6.23/200-sched_esfq.patch

    r10147 r10174  
    240240+       case __constant_htons(ETH_P_IP): 
    241241+       { 
    242 +               struct iphdr *iph = skb->nh.iph; 
     242+               struct iphdr *iph = ip_hdr(skb); 
    243243+               info.dst = iph->daddr; 
    244244+               info.src = iph->saddr; 
     
    256256+       case __constant_htons(ETH_P_IPV6): 
    257257+       { 
    258 +               struct ipv6hdr *iph = skb->nh.ipv6h; 
     258+               struct ipv6hdr *iph = ipv6_hdr(skb); 
    259259+               /* Hash ipv6 addresses into a u32. This isn't ideal, 
    260260+                * but the code is simple. */ 
Note: See TracChangeset for help on using the changeset viewer.