mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: Documentation/feature-removal-schedule.txt drivers/net/wireless/ath/ar9170/usb.c drivers/scsi/iscsi_tcp.c net/ipv4/ipmr.c
This commit is contained in:
commit
278554bd65
649 changed files with 7406 additions and 3769 deletions
|
|
@ -661,13 +661,13 @@ struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FDDI
|
||||
#if defined(CONFIG_FDDI) || defined(CONFIG_FDDI_MODULE)
|
||||
case ARPHRD_FDDI:
|
||||
arp->ar_hrd = htons(ARPHRD_ETHER);
|
||||
arp->ar_pro = htons(ETH_P_IP);
|
||||
break;
|
||||
#endif
|
||||
#ifdef CONFIG_TR
|
||||
#if defined(CONFIG_TR) || defined(CONFIG_TR_MODULE)
|
||||
case ARPHRD_IEEE802_TR:
|
||||
arp->ar_hrd = htons(ARPHRD_IEEE802);
|
||||
arp->ar_pro = htons(ETH_P_IP);
|
||||
|
|
@ -1051,7 +1051,7 @@ static int arp_req_set(struct net *net, struct arpreq *r,
|
|||
return -EINVAL;
|
||||
}
|
||||
switch (dev->type) {
|
||||
#ifdef CONFIG_FDDI
|
||||
#if defined(CONFIG_FDDI) || defined(CONFIG_FDDI_MODULE)
|
||||
case ARPHRD_FDDI:
|
||||
/*
|
||||
* According to RFC 1390, FDDI devices should accept ARP
|
||||
|
|
|
|||
|
|
@ -998,7 +998,8 @@ ipmr_cache_unresolved(struct mr_table *mrt, vifi_t vifi, struct sk_buff *skb)
|
|||
atomic_inc(&mrt->cache_resolve_queue_len);
|
||||
list_add(&c->list, &mrt->mfc_unres_queue);
|
||||
|
||||
mod_timer(&mrt->ipmr_expire_timer, c->mfc_un.unres.expires);
|
||||
if (atomic_read(&mrt->cache_resolve_queue_len) == 1)
|
||||
mod_timer(&mrt->ipmr_expire_timer, c->mfc_un.unres.expires);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1536,6 +1536,9 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable,
|
|||
|
||||
uh = udp_hdr(skb);
|
||||
ulen = ntohs(uh->len);
|
||||
saddr = ip_hdr(skb)->saddr;
|
||||
daddr = ip_hdr(skb)->daddr;
|
||||
|
||||
if (ulen > skb->len)
|
||||
goto short_packet;
|
||||
|
||||
|
|
@ -1549,9 +1552,6 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable,
|
|||
if (udp4_csum_init(skb, uh, proto))
|
||||
goto csum_error;
|
||||
|
||||
saddr = ip_hdr(skb)->saddr;
|
||||
daddr = ip_hdr(skb)->daddr;
|
||||
|
||||
if (rt->rt_flags & (RTCF_BROADCAST|RTCF_MULTICAST))
|
||||
return __udp4_lib_mcast_deliver(net, skb, uh,
|
||||
saddr, daddr, udptable);
|
||||
|
|
|
|||
Loading…
Reference in a new issue