mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/bonding/bond_main.c drivers/net/via-velocity.c drivers/net/wireless/iwlwifi/iwl-agn.c
This commit is contained in:
commit
4a35ecf8bf
780 changed files with 71698 additions and 8445 deletions
|
|
@ -3607,7 +3607,7 @@ static int inet6_dump_addr(struct sk_buff *skb, struct netlink_callback *cb,
|
|||
hlist_for_each_entry_rcu(dev, node, head, index_hlist) {
|
||||
if (idx < s_idx)
|
||||
goto cont;
|
||||
if (idx > s_idx)
|
||||
if (h > s_h || idx > s_idx)
|
||||
s_ip_idx = 0;
|
||||
ip_idx = 0;
|
||||
idev = __in6_dev_get(dev);
|
||||
|
|
|
|||
|
|
@ -1695,17 +1695,20 @@ ip6mr_fill_mroute(struct sk_buff *skb, struct mfc6_cache *c, struct rtmsg *rtm)
|
|||
int ct;
|
||||
struct rtnexthop *nhp;
|
||||
struct net *net = mfc6_net(c);
|
||||
struct net_device *dev = net->ipv6.vif6_table[c->mf6c_parent].dev;
|
||||
u8 *b = skb_tail_pointer(skb);
|
||||
struct rtattr *mp_head;
|
||||
|
||||
if (dev)
|
||||
RTA_PUT(skb, RTA_IIF, 4, &dev->ifindex);
|
||||
/* If cache is unresolved, don't try to parse IIF and OIF */
|
||||
if (c->mf6c_parent > MAXMIFS)
|
||||
return -ENOENT;
|
||||
|
||||
if (MIF_EXISTS(net, c->mf6c_parent))
|
||||
RTA_PUT(skb, RTA_IIF, 4, &net->ipv6.vif6_table[c->mf6c_parent].dev->ifindex);
|
||||
|
||||
mp_head = (struct rtattr *)skb_put(skb, RTA_LENGTH(0));
|
||||
|
||||
for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) {
|
||||
if (c->mfc_un.res.ttls[ct] < 255) {
|
||||
if (MIF_EXISTS(net, ct) && c->mfc_un.res.ttls[ct] < 255) {
|
||||
if (skb_tailroom(skb) < RTA_ALIGN(RTA_ALIGN(sizeof(*nhp)) + 4))
|
||||
goto rtattr_failure;
|
||||
nhp = (struct rtnexthop *)skb_put(skb, RTA_ALIGN(sizeof(*nhp)));
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ static const struct xt_table packet_raw = {
|
|||
.valid_hooks = RAW_VALID_HOOKS,
|
||||
.me = THIS_MODULE,
|
||||
.af = NFPROTO_IPV6,
|
||||
.priority = NF_IP6_PRI_FIRST,
|
||||
.priority = NF_IP6_PRI_RAW,
|
||||
};
|
||||
|
||||
/* The work comes in here from netfilter.c. */
|
||||
|
|
|
|||
|
|
@ -890,12 +890,17 @@ static struct dst_entry *ip6_negative_advice(struct dst_entry *dst)
|
|||
struct rt6_info *rt = (struct rt6_info *) dst;
|
||||
|
||||
if (rt) {
|
||||
if (rt->rt6i_flags & RTF_CACHE)
|
||||
ip6_del_rt(rt);
|
||||
else
|
||||
if (rt->rt6i_flags & RTF_CACHE) {
|
||||
if (rt6_check_expired(rt)) {
|
||||
ip6_del_rt(rt);
|
||||
dst = NULL;
|
||||
}
|
||||
} else {
|
||||
dst_release(dst);
|
||||
dst = NULL;
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
return dst;
|
||||
}
|
||||
|
||||
static void ip6_link_failure(struct sk_buff *skb)
|
||||
|
|
|
|||
Loading…
Reference in a new issue