mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts: net/bridge/br_device.c net/bridge/br_forward.c Signed-off-by: Patrick McHardy <[email protected]>
This commit is contained in:
commit
1e4b105712
744 changed files with 38111 additions and 17664 deletions
|
|
@ -94,7 +94,7 @@ static inline int handle_dev_cpu_collision(struct sk_buff *skb,
|
|||
* Another cpu is holding lock, requeue & delay xmits for
|
||||
* some time.
|
||||
*/
|
||||
__get_cpu_var(netdev_rx_stat).cpu_collision++;
|
||||
__get_cpu_var(softnet_data).cpu_collision++;
|
||||
ret = dev_requeue_skb(skb, q);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -123,8 +123,8 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb)
|
|||
case htons(ETH_P_IP):
|
||||
{
|
||||
const struct iphdr *iph = ip_hdr(skb);
|
||||
h = iph->daddr;
|
||||
h2 = iph->saddr ^ iph->protocol;
|
||||
h = (__force u32)iph->daddr;
|
||||
h2 = (__force u32)iph->saddr ^ iph->protocol;
|
||||
if (!(iph->frag_off&htons(IP_MF|IP_OFFSET)) &&
|
||||
(iph->protocol == IPPROTO_TCP ||
|
||||
iph->protocol == IPPROTO_UDP ||
|
||||
|
|
@ -138,8 +138,8 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb)
|
|||
case htons(ETH_P_IPV6):
|
||||
{
|
||||
struct ipv6hdr *iph = ipv6_hdr(skb);
|
||||
h = iph->daddr.s6_addr32[3];
|
||||
h2 = iph->saddr.s6_addr32[3] ^ iph->nexthdr;
|
||||
h = (__force u32)iph->daddr.s6_addr32[3];
|
||||
h2 = (__force u32)iph->saddr.s6_addr32[3] ^ iph->nexthdr;
|
||||
if (iph->nexthdr == IPPROTO_TCP ||
|
||||
iph->nexthdr == IPPROTO_UDP ||
|
||||
iph->nexthdr == IPPROTO_UDPLITE ||
|
||||
|
|
@ -150,7 +150,7 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb)
|
|||
break;
|
||||
}
|
||||
default:
|
||||
h = (unsigned long)skb_dst(skb) ^ skb->protocol;
|
||||
h = (unsigned long)skb_dst(skb) ^ (__force u32)skb->protocol;
|
||||
h2 = (unsigned long)skb->sk;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue