Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
authorDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 09:30:23 +0000 (02:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 09:30:23 +0000 (02:30 -0700)
Conflicts:

drivers/net/ehea/ehea_main.c
drivers/net/wireless/iwlwifi/Kconfig
drivers/net/wireless/rt2x00/rt61pci.c
net/ipv4/inet_timewait_sock.c
net/ipv6/raw.c
net/mac80211/ieee80211_sta.c

40 files changed:
1  2 
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c
drivers/net/forcedeth.c
drivers/net/smc91x.c
drivers/net/wireless/ipw2200.c
drivers/net/wireless/libertas/assoc.c
drivers/net/wireless/rt2x00/rt61pci.c
drivers/ssb/driver_mipscore.c
drivers/ssb/driver_pcicore.c
drivers/ssb/main.c
include/linux/Kbuild
include/linux/ipv6.h
include/net/sctp/command.h
include/net/tcp.h
net/8021q/vlan_dev.c
net/atm/lec.c
net/bridge/br_netfilter.c
net/core/skbuff.c
net/core/sock.c
net/dccp/dccp.h
net/dccp/ipv4.c
net/dccp/output.c
net/dccp/proto.c
net/ipv4/icmp.c
net/ipv4/ip_sockglue.c
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c
net/ipv6/addrconf.c
net/ipv6/anycast.c
net/ipv6/icmp.c
net/sctp/ipv6.c
net/sctp/outqueue.c
net/sctp/protocol.c
net/sctp/sm_make_chunk.c
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c
net/sctp/socket.c
net/wireless/nl80211.c
net/xfrm/xfrm_user.c

Simple merge
index 0c1c360a85ca19ba5dd1addfac54646321bc692b,f460b623c0771356acca11780e06b62efac2e0c4..9ff7538b75952e94ef27d9660dd31fa00f75b605
@@@ -2839,23 -2857,22 +2858,24 @@@ static void ehea_rereg_mrs(struct work_
                        /* Shutdown all ports */
                        for (i = 0; i < EHEA_MAX_PORTS; i++) {
                                struct ehea_port *port = adapter->port[i];
 +                              struct net_device *dev;
  
 -                              if (port) {
 -                                      struct net_device *dev = port->netdev;
 +                              if (!port)
 +                                      continue;
  
 -                                      if (dev->flags & IFF_UP) {
 -                                              down(&port->port_lock);
 -                                              netif_stop_queue(dev);
 -                                              ehea_flush_sq(port);
 -                                              ret = ehea_stop_qps(dev);
 -                                              if (ret) {
 -                                                      up(&port->port_lock);
 -                                                      goto out;
 -                                              }
 -                                              port_napi_disable(port);
 -                                              up(&port->port_lock);
 +                              dev = port->netdev;
 +
 +                              if (dev->flags & IFF_UP) {
 +                                      mutex_lock(&port->port_lock);
 +                                      netif_stop_queue(dev);
++                                      ehea_flush_sq(port);
 +                                      ret = ehea_stop_qps(dev);
 +                                      if (ret) {
 +                                              mutex_unlock(&port->port_lock);
 +                                              goto out;
                                        }
 +                                      port_napi_disable(port);
 +                                      mutex_unlock(&port->port_lock);
                                }
                        }
  
Simple merge
index 97bdb2a43bc8df943822b0b24f8afd97602d0dc1,63a54e29d56331c24a160d644ba6b57626c8c219..600b92af33349c1d5a2ed782f0aba89f0fa4a229
@@@ -1322,10 -1322,11 +1322,11 @@@ static irqreturn_t smc_interrupt(int ir
        } while (--timeout);
  
        /* restore register states */
 -      SMC_SET_PTR(saved_pointer);
 -      SMC_SET_INT_MASK(mask);
 +      SMC_SET_PTR(lp, saved_pointer);
 +      SMC_SET_INT_MASK(lp, mask);
        spin_unlock(&lp->lock);
  
+ #ifndef CONFIG_NET_POLL_CONTROLLER
        if (timeout == MAX_IRQ_LOOPS)
                PRINTK("%s: spurious interrupt (mask = 0x%02x)\n",
                       dev->name, mask);
Simple merge
Simple merge
index 1cb056be44890b6c1f869a788a533d670db92990,ad2e7d53b3dafe3d19bd7f98282bd5eae7634c3e..468a31c8c113ff9fd0ae75a7556547cfbcf57a84
@@@ -2377,12 -2398,9 +2377,10 @@@ static int rt61pci_beacon_update(struc
         * We need to append the descriptor in front of the
         * beacon frame.
         */
 -      if (skb_headroom(skb) < TXD_DESC_SIZE) {
 -              if (pskb_expand_head(skb, TXD_DESC_SIZE, 0, GFP_ATOMIC))
 +      if (skb_headroom(skb) < intf->beacon->queue->desc_size) {
 +              if (pskb_expand_head(skb, intf->beacon->queue->desc_size,
-                                    0, GFP_ATOMIC)) {
-                       dev_kfree_skb(skb);
++                                   0, GFP_ATOMIC))
                        return -ENOMEM;
-               }
        }
  
        /*
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc net/atm/lec.c
Simple merge
index 0278a069c6f1506fc4dfd3b9430de2346ae00688,af7e8be8d8d2e85ffc853ea6c04163b7bd36c92d..bb90cd7bace326b06710e95155aa6b72ee3a0339
@@@ -110,7 -110,8 +110,10 @@@ static inline __be16 pppoe_proto(const 
   * ipt_REJECT needs it.  Future netfilter modules might
   * require us to fill additional fields. */
  static struct net_device __fake_net_device = {
-       .hard_header_len        = ETH_HLEN
+       .hard_header_len        = ETH_HLEN,
++#ifdef CONFIG_NET_NS
+       .nd_net                 = &init_net,
++#endif
  };
  
  static struct rtable __fake_rtable = {
Simple merge
diff --cc net/core/sock.c
Simple merge
diff --cc net/dccp/dccp.h
Simple merge
diff --cc net/dccp/ipv4.c
Simple merge
Simple merge
Simple merge
diff --cc net/ipv4/icmp.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 9d49ed2578d70119f11ad50d91795f5e3957ca34,e08955baedffc491a6fafaae378e71adb50d9e23..8a0fd4007bdb2159c7da44277bc38c97621e4fbf
@@@ -2529,10 -2457,10 +2530,10 @@@ static int addrconf_ifdown(struct net_d
  
        ASSERT_RTNL();
  
-       if (dev == init_net.loopback_dev && how == 1)
+       if ((dev->flags & IFF_LOOPBACK) && how == 1)
                how = 0;
  
 -      rt6_ifdown(dev);
 +      rt6_ifdown(net, dev);
        neigh_ifdown(&nd_tbl, dev);
  
        idev = __in6_dev_get(dev);
Simple merge
diff --cc net/ipv6/icmp.c
Simple merge
diff --cc net/sctp/ipv6.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge