]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
authorDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2008 23:43:02 +0000 (15:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2008 23:43:02 +0000 (15:43 -0800)
Conflicts:

drivers/message/fusion/mptlan.c
drivers/net/sfc/ethtool.c
net/mac80211/debugfs_sta.c

12 files changed:
1  2 
Documentation/feature-removal-schedule.txt
MAINTAINERS
drivers/message/fusion/mptlan.c
net/core/skbuff.c
net/dsa/slave.c
net/dsa/tag_dsa.c
net/dsa/tag_edsa.c
net/dsa/tag_trailer.c
net/ipv6/ip6mr.c
net/netfilter/ipvs/ip_vs_xmit.c
net/unix/af_unix.c
net/unix/garbage.c

diff --cc MAINTAINERS
Simple merge
index 582a921c7aab289e410d5f6c3f4626858f431780,603ffd008c73fb65275e1001af623f02332163d8..eeef0bd077f4492e32461725ad3d642a0c1f7e41
@@@ -1569,79 -1537,7 +1534,6 @@@ mpt_lan_type_trans(struct sk_buff *skb
  
        fcllc = (struct fcllc *)skb->data;
  
- #ifdef QLOGIC_NAA_WORKAROUND
- {
-       u16 source_naa = fch->stype, found = 0;
-       /* Workaround for QLogic not following RFC 2625 in regards to the NAA
-          value. */
-       if ((source_naa & 0xF000) == 0)
-               source_naa = swab16(source_naa);
-       if (fcllc->ethertype == htons(ETH_P_ARP))
-           dlprintk ((KERN_INFO "mptlan/type_trans: got arp req/rep w/ naa of "
-                     "%04x.\n", source_naa));
-       if ((fcllc->ethertype == htons(ETH_P_ARP)) &&
-          ((source_naa >> 12) !=  MPT_LAN_NAA_RFC2625)){
-               struct NAA_Hosed *nh, *prevnh;
-               int i;
-               dlprintk ((KERN_INFO "mptlan/type_trans: ARP Req/Rep from "
-                         "system with non-RFC 2625 NAA value (%04x).\n",
-                         source_naa));
-               write_lock_irq(&bad_naa_lock);
-               for (prevnh = nh = mpt_bad_naa; nh != NULL;
-                    prevnh=nh, nh=nh->next) {
-                       if ((nh->ieee[0] == fch->saddr[0]) &&
-                           (nh->ieee[1] == fch->saddr[1]) &&
-                           (nh->ieee[2] == fch->saddr[2]) &&
-                           (nh->ieee[3] == fch->saddr[3]) &&
-                           (nh->ieee[4] == fch->saddr[4]) &&
-                           (nh->ieee[5] == fch->saddr[5])) {
-                               found = 1;
-                               dlprintk ((KERN_INFO "mptlan/type_trans: ARP Re"
-                                        "q/Rep w/ bad NAA from system already"
-                                        " in DB.\n"));
-                               break;
-                       }
-               }
-               if ((!found) && (nh == NULL)) {
-                       nh = kmalloc(sizeof(struct NAA_Hosed), GFP_KERNEL);
-                       dlprintk ((KERN_INFO "mptlan/type_trans: ARP Req/Rep w/"
-                                " bad NAA from system not yet in DB.\n"));
-                       if (nh != NULL) {
-                               nh->next = NULL;
-                               if (!mpt_bad_naa)
-                                       mpt_bad_naa = nh;
-                               if (prevnh)
-                                       prevnh->next = nh;
-                               nh->NAA = source_naa; /* Set the S_NAA value. */
-                               for (i = 0; i < FC_ALEN; i++)
-                                       nh->ieee[i] = fch->saddr[i];
-                               dlprintk ((KERN_INFO "Got ARP from %pM with"
-                                         " non-compliant S_NAA value.\n",
-                                         fch->saddr));
-                       } else {
-                               printk (KERN_ERR "mptlan/type_trans: Unable to"
-                                       " kmalloc a NAA_Hosed struct.\n");
-                       }
-               } else if (!found) {
-                       printk (KERN_ERR "mptlan/type_trans: found not"
-                               " set, but nh isn't null. Evil "
-                               "funkiness abounds.\n");
-               }
-               write_unlock_irq(&bad_naa_lock);
-       }
- }
- #endif
--
        /* Strip the SNAP header from ARP packets since we don't
         * pass them through to the 802.2/SNAP layers.
         */
Simple merge
diff --cc net/dsa/slave.c
Simple merge
index ff55823a6534ab668a6251231441670cd9edfae6,31866543332ea4c130d47eb9f6539cf5f0f11d94..f99a019b939ed7e2b15e90bcfa5be1716accd1b9
@@@ -159,8 -159,10 +159,9 @@@ static int dsa_rcv(struct sk_buff *skb
  
        skb->dev = ds->ports[source_port];
        skb_push(skb, ETH_HLEN);
+       skb->pkt_type = PACKET_HOST;
        skb->protocol = eth_type_trans(skb, skb->dev);
  
 -      skb->dev->last_rx = jiffies;
        skb->dev->stats.rx_packets++;
        skb->dev->stats.rx_bytes += skb->len;
  
index 24b1c76fa7a493def1ac7b074ccdb5d1ee67ab8c,9f4ce55eae5952b9cd3c5e6606189d10028002f7..328ec957f7864a670ce7ad841ae43010fa2d2e35
@@@ -178,8 -178,10 +178,9 @@@ static int edsa_rcv(struct sk_buff *skb
  
        skb->dev = ds->ports[source_port];
        skb_push(skb, ETH_HLEN);
+       skb->pkt_type = PACKET_HOST;
        skb->protocol = eth_type_trans(skb, skb->dev);
  
 -      skb->dev->last_rx = jiffies;
        skb->dev->stats.rx_packets++;
        skb->dev->stats.rx_bytes += skb->len;
  
index 3bfd2e55877a45c4057fda49f70d334d763c58f3,efd26697e716a22b6fb8713a5285b88a20fab2ab..b59132878ad1c45ce54271213d5b4909d5113809
@@@ -95,8 -95,10 +95,9 @@@ static int trailer_rcv(struct sk_buff *
  
        skb->dev = ds->ports[source_port];
        skb_push(skb, ETH_HLEN);
+       skb->pkt_type = PACKET_HOST;
        skb->protocol = eth_type_trans(skb, skb->dev);
  
 -      skb->dev->last_rx = jiffies;
        skb->dev->stats.rx_packets++;
        skb->dev->stats.rx_bytes += skb->len;
  
Simple merge
Simple merge
Simple merge
Simple merge