The branch, batman-adv/master has been created at 833ce9f2e94811e8dbf2e8daf7b591fa172c8283 (commit)
- Shortlog ------------------------------------------------------------ commit 833ce9f2e94811e8dbf2e8daf7b591fa172c8283 Author: Antonio Quartulli ordex@autistici.org Date: Mon Nov 26 01:27:29 2012 +0100
batman-adv: don't compile the BLA switch if not requested
When the Bridge Loop Avoidance component is not compiled-in, its boolean switch should be not compiled as well. This patch surrounds the switch with a proper ifdef.
This behaviour was introduced by 9fd6b0615b5499b270d39a92b8790e206cf75833 ("batman-adv: add bridge loop avoidance compile option")
Signed-off-by: Antonio Quartulli ordex@autistici.org Acked-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit fba55062b73448401692936aa71b5ae002cb6002 Author: Antonio Quartulli ordex@autistici.org Date: Thu Nov 29 04:54:45 2012 +0100
batman-adv: don't print the last_seen time for bat0 TT local entry
bat0 MAC address will never deleted from the local translation table, therefore printing its last_Seen time is useless and will also produce ugly output and eventually a variable overflow.
This was introduced by 59cb0861498776c62bd17584c31f34477fa301a0 ("batman-adv: improve local translation table output")
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit ae75c7bf72350895f2a2e98437203bf51c18dc9c Author: Antonio Quartulli ordex@autistici.org Date: Thu Nov 29 01:03:31 2012 +0100
batman-adv: remove useless NULL check
debugfs_remove_recursive() checks whether its argument is not null on its own, therefore it is possible to remove the external check.
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 39d7ef90f1c2b8e7e3e69893cb9139f902c0e616 Author: Antonio Quartulli ordex@autistici.org Date: Sat Dec 1 02:32:01 2012 +0100
batman-adv: remove useless blank lines before and after brackets
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 81a995db125ab11f49d4949a231b647516a3c1db Author: Antonio Quartulli ordex@autistici.org Date: Sat Nov 10 11:00:32 2012 +0100
batman-adv: Initialize lockdep class keys for hashes
Different hashes have the same class key key because they get initialised with the same one. For this reason lockdep can create false warning when they are used recursively.
Re-initialise the key for each hash after the invocation to hash_new() to avoid this problem.
Signed-off-by: Antonio Quartulli ordex@autistici.org Tested-by: Linus Lüssing linus.luessing@web.de Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 6d965dc17ef3ffbad91f95a3a0e9bc43d6310916 Author: Antonio Quartulli ordex@autistici.org Date: Mon Nov 19 09:01:44 2012 +0100
batman-adv: remove useless assignment in tt_local_add()
The flag field of the tt_local_entry->common structure in tt_local_add() is first assigned NO_FLAGS and then TT_CLIENT_NEW so nullifying the first operation. For this reason it is safe to remove the first assignment.
This was introuduced by ("batman-adv: keep local table consistency for further TT_RESPONSE")
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 4f4937cbb1bb013c36d38d03e76e2db1495bdd8b Author: Antonio Quartulli ordex@autistici.org Date: Mon Nov 19 09:01:43 2012 +0100
batman-adv: unify and properly print hex values
Values are printed in hexadecimal format in several points in the code, but they are not printed using the same format string.
This patches unifies the format used for such numbers so that they look the same everywhere.
Given the fact that all the variables printed as hexadecimal are 16 bit long, this is the chosen printing format: %#.4x
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 8b840b19ca406b3c78bad8b31c14e3d7f880da26 Author: Antonio Quartulli ordex@autistici.org Date: Mon Nov 19 09:01:42 2012 +0100
batman-adv: print the CRC together with the translation tables
To simplify debugging operations, it is better to print the related CRC together with the translation table (local CRC for the local table and global CRC for each entry in the global table)
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 26471d4eb6b7009dbc0ed1fddda3d4e4c471daed Author: Antonio Quartulli ordex@autistici.org Date: Thu Nov 8 22:16:16 2012 +0100
batman-adv: improve local translation table output
This patch adds a nice header to the local translation table and the last_seen time for each local entry
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 5d938eb47c96e2667ad17fe8f12ca1ab5121fff1 Author: Antonio Quartulli ordex@autistici.org Date: Thu Nov 8 22:16:15 2012 +0100
batman-adv: reduce local TT entry timeout to 10 minutes
The current timeout is set to one hour. However a client connected to the mesh network will always generate traffic. In the worst case it will send ARP requests every 4 or 5 minutes. On the other hand having a long timeout means storing dead entries for one hour leads to very big trans-tables containing useless clients.
This patch reduces the timeout to 10 minutes
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 509ef8c0d56f86e392c32e103bdf4c62668fe0e7 Author: Linus Lüssing linus.luessing@web.de Date: Wed Oct 17 15:07:35 2012 +0200
batman-adv: Do not add multicast MAC addresses to translation table
The current translation table mechanism is not suitable for multicast addresses and we are currently flooding such frames anyway.
Therefore this patch prevents multicast MAC addresses being added to the translation table.
Signed-off-by: Linus Lüssing linus.luessing@web.de Acked-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de Signed-off-by: Antonio Quartulli ordex@autistici.org
commit 781bb634e20a0636b8922686705a8675f3213a3f Author: Shan Wei davidshan@tencent.com Date: Tue Nov 13 09:53:26 2012 +0800
batman-adv: use per_cpu_add helper
this_cpu_add is an atomic operation. and be more faster than per_cpu_ptr operation.
Signed-off-by: Shan Wei davidshan@tencent.com Reviewed-by: Christoph Lameter cl@linux.com Signed-off-by: Sven Eckelmann sven@narfation.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de Signed-off-by: Antonio Quartulli ordex@autistici.org
commit b1afce9538eef6239798ec54cead3c39d69724ca Author: David S. Miller davem@davemloft.net Date: Tue Dec 4 14:46:34 2012 -0500
ipv6: Protect ->mc_forwarding access with CONFIG_IPV6_MROUTE
Reported-by: Fengguang Wu fengguang.wu@intel.com Signed-off-by: David S. Miller davem@davemloft.net
commit 193c1e478cc496844fcbef402a10976c95a634ff Author: Nicolas Dichtel nicolas.dichtel@6wind.com Date: Tue Dec 4 01:01:49 2012 +0000
ip6mr: fix rtm_family of rtnl msg
We talk about IPv6, hence the family is RTNL_FAMILY_IP6MR! rtnl_register() is already called with RTNL_FAMILY_IP6MR.
The bug is here since the beginning of this function (commit 5b285cac3570).
Signed-off-by: Nicolas Dichtel nicolas.dichtel@6wind.com Signed-off-by: David S. Miller davem@davemloft.net
commit 4e66ae2ea371cf431283e2cb95480eb860432856 Author: Serge Hallyn serge.hallyn@canonical.com Date: Mon Dec 3 16:17:12 2012 +0000
net: dev_change_net_namespace: send a KOBJ_REMOVED/KOBJ_ADD
When a new nic is created in namespace ns1, the kernel sends a KOBJ_ADD uevent to ns1. When the nic is moved to ns2, we only send a KOBJ_MOVE to ns2, and nothing to ns1.
This patch changes that behavior so that when moving a nic from ns1 to ns2, we send a KOBJ_REMOVED to ns1 and KOBJ_ADD to ns2. (The KOBJ_MOVE is still sent to ns2).
The effects of this can be seen when starting and stopping containers in an upstart based host. Lxc will create a pair of veth nics, the kernel sends KOBJ_ADD, and upstart starts network-instance jobs for each. When one nic is moved to the container, because no KOBJ_REMOVED event is received, the network-instance job for that veth never goes away. This was reported at https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1065589 With this patch the networ-instance jobs properly go away.
The other oddness solved here is that if a nic is passed into a running upstart-based container, without this patch no network-instance job is started in the container. But when the container creates a new nic itself (ip link add new type veth) then network-interface jobs are created. With this patch, behavior comes in line with a regular host.
v2: also send KOBJ_ADD to new netns. There will then be a _MOVE event from the device_rename() call, but that should be innocuous.
Signed-off-by: Serge Hallyn serge.hallyn@canonical.com Acked-by: "Eric W. Biederman" ebiederm@xmission.com Acked-by: Daniel Lezcano daniel.lezcano@free.fr Signed-off-by: David S. Miller davem@davemloft.net
commit 008d845cf65c3153bbcfa2f1cb3369a99e12de02 Author: Wei Yongjun yongjun_wei@trendmicro.com.cn Date: Mon Dec 3 19:05:13 2012 +0000
net: neterion: use for_each_pci_dev to simplify the code
Use for_each_pci_dev to simplify the code.
Signed-off-by: Wei Yongjun yongjun_wei@trendmicro.com.cn Signed-off-by: David S. Miller davem@davemloft.net
commit 812e44dd1829488096929ff362f749ae04dc71a0 Author: Nicolas Dichtel nicolas.dichtel@6wind.com Date: Tue Dec 4 01:13:41 2012 +0000
ip6mr: advertise new mfc entries via rtnl
This patch allows to monitor mf6c activities via rtnetlink. To avoid parsing two times the mf6c oifs, we use maxvif to allocate the rtnl msg, thus we may allocate some superfluous space.
Signed-off-by: Nicolas Dichtel nicolas.dichtel@6wind.com Signed-off-by: David S. Miller davem@davemloft.net
commit 8cd3ac9f9b7bd921d0a28fd3273160ee8891e698 Author: Nicolas Dichtel nicolas.dichtel@6wind.com Date: Tue Dec 4 01:13:40 2012 +0000
ipmr: advertise new mfc entries via rtnl
This patch allows to monitor mfc activities via rtnetlink. To avoid parsing two times the mfc oifs, we use maxvif to allocate the rtnl msg, thus we may allocate some superfluous space.
Signed-off-by: Nicolas Dichtel nicolas.dichtel@6wind.com Signed-off-by: David S. Miller davem@davemloft.net
commit 1eb99af52c4bc705f4042f37f255975acfc738f2 Author: Nicolas Dichtel nicolas.dichtel@6wind.com Date: Tue Dec 4 01:13:39 2012 +0000
ipmr/ip6mr: allow to get unresolved cache via netlink
/proc/net/ip[6]_mr_cache allows to get all mfc entries, even if they are put in the unresolved list (mfc[6]_unres_queue). But only the table RT_TABLE_DEFAULT is displayed. This patch adds the parsing of the unresolved list when the dump is made via rtnetlink, hence each table can be checked.
In IPv6, we set rtm_type in ip6mr_fill_mroute(), because in case of unresolved mfc __ip6mr_fill_mroute() will not set it. In IPv4, it is already done.
Signed-off-by: Nicolas Dichtel nicolas.dichtel@6wind.com Signed-off-by: David S. Miller davem@davemloft.net
commit 9a68ac72a44ecb6d4dc4a7cadf45e1a2cd183885 Author: Nicolas Dichtel nicolas.dichtel@6wind.com Date: Tue Dec 4 01:13:38 2012 +0000
ipmr/ip6mr: report origin of mfc entry into rtnl msg
A mfc entry can be static or not (added via the mroute_sk socket). The patch reports MFC_STATIC flag into rtm_protocol by setting rtm_protocol to RTPROT_STATIC or RTPROT_MROUTED.
Signed-off-by: Nicolas Dichtel nicolas.dichtel@6wind.com Signed-off-by: David S. Miller davem@davemloft.net
commit adfa85e45dac616ff4f8bfceff1621ccafc0b1ff Author: Nicolas Dichtel nicolas.dichtel@6wind.com Date: Tue Dec 4 01:13:37 2012 +0000
ipmr/ip6mr: advertise mfc stats via rtnetlink
These statistics can be checked only via /proc/net/ip_mr_cache or SIOCGETSGCNT[_IN6] and thus only for the table RT_TABLE_DEFAULT. Advertising them via rtnetlink allows to get statistics for all cache entries, whatever the table is.
Signed-off-by: Nicolas Dichtel nicolas.dichtel@6wind.com Signed-off-by: David S. Miller davem@davemloft.net
commit 70b386a0cc65041fb01aacf5d4b8d1fa49fc8ce9 Author: Nicolas Dichtel nicolas.dichtel@6wind.com Date: Tue Dec 4 01:13:36 2012 +0000
ip6mr: use nla_nest_* helpers
This patch removes the skb manipulations when nested attributes are added by using standard helpers.
Signed-off-by: Nicolas Dichtel nicolas.dichtel@6wind.com Signed-off-by: David S. Miller davem@davemloft.net
commit d67b8c616b48df30e2836d797795f2420d109bc9 Author: Nicolas Dichtel nicolas.dichtel@6wind.com Date: Tue Dec 4 01:13:35 2012 +0000
netconf: advertise mc_forwarding status
This patch advertise the MC_FORWARDING status for IPv4 and IPv6. This field is readonly, only multicast engine in the kernel updates it.
Signed-off-by: Nicolas Dichtel nicolas.dichtel@6wind.com Signed-off-by: David S. Miller davem@davemloft.net
commit e8ad1a8fab6f550aba1f1fe7ba26749ff5460751 Merge: 099f7aa a0ecb85 Author: David S. Miller davem@davemloft.net Date: Tue Dec 4 13:01:19 2012 -0500
Merge branch 'master' of git://1984.lsi.us.es/nf-next
Pablo Neira Ayuso says:
==================== * Remove limitation in the maximum number of supported sets in ipset. Now ipset automagically increments the number of slots in the array of sets by 64 new spare slots, from Jozsef Kadlecsik.
* Partially remove the generic queue infrastructure now that ip_queue is gone. Its only client is nfnetlink_queue now, from Florian Westphal.
* Add missing attribute policy checkings in ctnetlink, from Florian Westphal.
* Automagically kill conntrack entries that use the wrong output interface for the masquerading case in case of routing changes, from Jozsef Kadlecsik.
* Two patches two improve ct object traceability. Now ct objects are always placed in any of the existing lists. This allows us to dump the content of unconfirmed and dying conntracks via ctnetlink as a way to provide more instrumentation in case you suspect leaks, from myself. ====================
Signed-off-by: David S. Miller davem@davemloft.net
commit 099f7aa7400df0ffcc8d3c30dcde1ce0595d8a32 Author: Sony Chacko sony.chacko@qlogic.com Date: Tue Dec 4 03:33:58 2012 +0000
qlcnic: rename module params with module_param_named
Add qlcnic prefix to qlcnic driver module parameters.
Signed-off-by: Sony Chacko sony.chacko@qlogic.com Signed-off-by: David S. Miller davem@davemloft.net
commit 5796bd040e26915b05edf7b0e43eb4aa971170aa Author: Sony Chacko sony.chacko@qlogic.com Date: Tue Dec 4 03:33:57 2012 +0000
qlcnic: fix bug in LRO descriptor access macro
Signed-off-by: Sony Chacko sony.chacko@qlogic.com Signed-off-by: David S. Miller davem@davemloft.net
commit bff57d8e1de3510bb8845f639631b6fced211801 Author: Sony Chacko sony.chacko@qlogic.com Date: Tue Dec 4 03:33:56 2012 +0000
qlcnic: update NIC partition interface routines
Refactor 82xx driver to support new adapter Update routines to support variable number of NIC partitions
Signed-off-by: Rajesh Borundia rajesh.borundia@qlogic.com Signed-off-by: Sony Chacko sony.chacko@qlogic.com Signed-off-by: David S. Miller davem@davemloft.net
commit 229997989bdb7742cf5d21cdc6754017dab1e2db Author: Sony Chacko sony.chacko@qlogic.com Date: Tue Dec 4 03:33:55 2012 +0000
qlcnic: get board name API
Cleanup get board information API.
Signed-off-by: Sony Chacko sony.chacko@qlogic.com Signed-off-by: David S. Miller davem@davemloft.net
commit 15087c2b313b57feffcd92695c984a25e0e4eb90 Author: Sony Chacko sony.chacko@qlogic.com Date: Tue Dec 4 03:33:54 2012 +0000
qlcnic: modify PCI and register access routines
Refactor 82xx driver to support new adapter Update PCI and hardware access routines
Signed-off-by: Anirban Chakraborty anirban.chakraborty@qlogic.com Signed-off-by: Sony Chacko sony.chacko@qlogic.com Signed-off-by: David S. Miller davem@davemloft.net
commit 797884509d1f7dffa4fd1028a1f62a19705a518b Author: Sony Chacko sony.chacko@qlogic.com Date: Tue Dec 4 03:33:53 2012 +0000
qlcnic: move HW specific data to seperate structure
Move HW specific data to a seperate structure as part of refactoring 82xx adapter driver.
Signed-off-by: Anirban Chakraborty anirban.chakraborty@qlogic.com Signed-off-by: Sony Chacko sony.chacko@qlogic.com Signed-off-by: David S. Miller davem@davemloft.net
commit 97ee45eb099a9a0f1dc992f98e9476cc159ee5e0 Author: Sony Chacko sony.chacko@qlogic.com Date: Tue Dec 4 03:33:52 2012 +0000
qlcnic: add 82xx adapter specific checks
Add 82xx adapter ID check before 82xx specific operations as part of refactoring the driver to enable support for new adapter.
Signed-off-by: Sony Chacko sony.chacko@qlogic.com Signed-off-by: David S. Miller davem@davemloft.net
commit fb4ce8ad8036e6b3d5ab021fd10934b80270cc11 Author: Matt Carlson mcarlson@broadcom.com Date: Mon Dec 3 19:37:00 2012 +0000
tg3: PTP - Enable the timestamping feature in hardware and fill skb tx/rx timestamps
This patch implements the hardware timestamping as described in Documentation/networking/timestamping.txt
Update version to 3.128.
Signed-off-by: Nithin Nayak Sujir nsujir@broadcom.com Signed-off-by: Michael Chan mchan@broadcom.com Cc: Richard Cochran richardcochran@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit 0a633ac2284a92f0c65972bd8019146ed7d66159 Author: Matt Carlson mcarlson@broadcom.com Date: Mon Dec 3 19:36:59 2012 +0000
tg3: PTP - Add the hardware timestamp ioctl
This patch implements the SIOCSHWTSTAMP ioctl as described in Documentation/networking/timestamping.txt
[Removed HWTSTAMP_FILTER_ALL handling by returning -ERANGE based on input from Richard Cochran.]
Signed-off-by: Nithin Nayak Sujir nsujir@broadcom.com Signed-off-by: Michael Chan mchan@broadcom.com Cc: Richard Cochran richardcochran@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit 7d41e49ac2a10a269bb50b4b019d75eed16fd55d Author: Matt Carlson mcarlson@broadcom.com Date: Mon Dec 3 19:36:58 2012 +0000
tg3: PTP - Implement the ptp api and ethtool functions
This patch adds the ptp_caps structure, ptp api implementation, reference clock read and register/unregister functions. All the basic clock operations as described in Documentation/ptp/ptp.txt are supported.
Frequency adjustment is performed using hardware with a 24 bit accumulator and a programmable correction value. On each clk, the correction value gets added to the accumulator and when it overflows, the time counter is incremented/decremented and the accumulator reset.
So conversion from ppb to correction value is ppb * (1 << 24) / 1000000000
[Re-organized to put the ptp_clock_info struct declaration in one patch, added ptp_clock_info.name, and added locking to tg3_ptp_adjtime() based on input from Richard Cochran.]
Signed-off-by: Nithin Nayak Sujir nsujir@broadcom.com Signed-off-by: Michael Chan mchan@broadcom.com Cc: Richard Cochran richardcochran@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit be947307b5b61fabbd76194d02617f9d2653176d Author: Matt Carlson mcarlson@broadcom.com Date: Mon Dec 3 19:36:57 2012 +0000
tg3: PTP - Add header definitions, initialization and hw access functions.
This patch adds code to write the reference clock. If a chip reset is performed, the hwclock is reinitialized with the adjusted kernel time
Signed-off-by: Nithin Nayak Sujir nsujir@broadcom.com Signed-off-by: Michael Chan mchan@broadcom.com Cc: Richard Cochran richardcochran@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit 357630668a638418d542d0e331c90c01a091a3f1 Author: Nithin Nayak Sujir nsujir@broadcom.com Date: Mon Dec 3 19:36:56 2012 +0000
tg3: Fix inconsistent locking for tg3_netif_start().
Every caller holds tp->lock when calling tg3_netif_start() except tg3_io_resume(). Fix it so that it is all consistent. The subsequent PTP patches add tg3_ptp_resume() to tg3_netif_start() and the tp->lock is required.
Signed-off-by: Nithin Nayak Sujir nsujir@broadcom.com Signed-off-by: Michael Chan mchan@broadcom.com Acked-by: Richard Cochran richardcochran@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit 682d7978aee072f411fc747d32954a8371dd7b1b Merge: a5a81f0 9f9a12f Author: David S. Miller davem@davemloft.net Date: Mon Dec 3 15:35:28 2012 -0500
Merge tag 'dev_removal' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/net-next
Networking: Remove __dev* markings from the networking drivers
This is a series of patches that remove the dev* attributes for all networking drivers, with the exception of wireless drivers, those are in a different branch.
Use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit are no longer needed since CONFIG_HOTPLUG is being removed as an option.
Note, there are some devinit compiler section mismatch warnings due to this series, but they are fixed up when merged with my driver-next branch, which fixes the PCI device id warnings, and removes the modpost detection, as it's no longer needed.
Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org Signed-off-by: David S. Miller davem@davemloft.net
commit a5a81f0b9025867efb999d14a8dfc1907c5a4c3b Author: Paul Marks pmarks@google.com Date: Mon Dec 3 10:26:54 2012 +0000
ipv6: Fix default route failover when CONFIG_IPV6_ROUTER_PREF=n
I believe this commit from 2008 was incorrect: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=...
When CONFIG_IPV6_ROUTER_PREF is disabled, the kernel should follow RFC4861 section 6.3.6: if no route is NUD_VALID, then traffic should be sprayed across all routers (indirectly triggering NUD) until one of them becomes NUD_VALID.
However, the following experiment demonstrates that this does not work:
1) Connect to an IPv6 network. 2) Change the router's MAC (and link-local) address.
The kernel will lock onto the first router and never try the new one, even if the first becomes unreachable. This patch fixes the problem by allowing rt6_check_neigh() to return 0; if all routers return 0, then rt6_select() will fall back to round-robin behavior.
This patch should have no effect when CONFIG_IPV6_ROUTER_PREF=y.
Note that rt6_check_neigh() is only used in a boolean context, so I've changed its return type accordingly.
Signed-off-by: Paul Marks pmarks@google.com Signed-off-by: David S. Miller davem@davemloft.net
commit 5d097109257c03a71845729f8db6b5770c4bbedc Author: Michael S. Tsirkin mst@redhat.com Date: Mon Dec 3 10:07:14 2012 +0000
tun: only queue packets on device
Historically tun supported two modes of operation: - in default mode, a small number of packets would get queued at the device, the rest would be queued in qdisc - in one queue mode, all packets would get queued at the device
This might have made sense up to a point where we made the queue depth for both modes the same and set it to a huge value (500) so unless the consumer is stuck the chance of losing packets is small.
Thus in practice both modes behave the same, but the default mode has some problems: - if packets are never consumed, fragments are never orphaned which cases a DOS for sender using zero copy transmit - overrun errors are hard to diagnose: fifo error is incremented only once so you can not distinguish between userspace that is stuck and a transient failure, tcpdump on the device does not show any traffic
Userspace solves this simply by enabling IFF_ONE_QUEUE but there seems to be little point in not doing the right thing for everyone, by default.
Signed-off-by: Michael S. Tsirkin mst@redhat.com Signed-off-by: David S. Miller davem@davemloft.net
commit 9f9a12f8ca79839c948464a37c5b557808278708 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:25 2012 -0500
net/intel: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Jeff Kirsher jeffrey.t.kirsher@intel.com Cc: Jesse Brandeburg jesse.brandeburg@intel.com Cc: Bruce Allan bruce.w.allan@intel.com Cc: Carolyn Wyborny carolyn.wyborny@intel.com Cc: Don Skidmore donald.c.skidmore@intel.com Cc: Greg Rose gregory.v.rose@intel.com Cc: Peter P Waskiewicz Jr peter.p.waskiewicz.jr@intel.com Cc: Alex Duyck alexander.h.duyck@intel.com Cc: John Ronciak john.ronciak@intel.com Cc: Tushar Dave tushar.n.dave@intel.com Cc: e1000-devel@lists.sourceforge.net Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 0329aba13791ec256dacdfdc74eca8673f6dd2e8 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:24 2012 -0500
bnx2x: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Eilon Greenstein eilong@broadcom.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 047fc56614f8f8d03fb64ef3be44f040aad25d56 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:23 2012 -0500
net/broadcom: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 8e0e46bb3224057fd65f3041977163b6ee13346d Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:22 2012 -0500
xen-netfront: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Konrad Rzeszutek Wilk konrad.wilk@oracle.com Cc: Jeremy Fitzhardinge jeremy@goop.org Cc: xen-devel@lists.xensource.com Cc: virtualization@lists.linux-foundation.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit a46182eb9a9b0801776d5b6eca7591774cdea7a8 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:21 2012 -0500
net/lmc: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit da3f21b5f997e361a3251e757a10574984593c14 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:20 2012 -0500
ixp4xx_hss: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Krzysztof Halasa khc@pm.waw.pl Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit aeea6bbfa3f185dcd6f812ece8bed778ec0da3be Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:19 2012 -0500
net/hdlc: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Krzysztof Halasa khc@pm.waw.pl Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 5a37931ff0be06b4c774aa604f86ed4566a0ede7 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:18 2012 -0500
farsync: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Kevin Curtis kevin.curtis@farsite.co.uk Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 6ad888c679ff7b4143e8a89706a5c097004b168a Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:17 2012 -0500
dscc4: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Francois Romieu romieu@fr.zoreil.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 3a4751a3bb2704ca382e22a07648a5c255d6916d Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:16 2012 -0500
vmxnet3: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Shreyas Bhatewara sbhatewara@vmware.com Cc: VMware, Inc. pv-drivers@vmware.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 8cc085d604f7f2f1be68d0b50db1dfd5640266b7 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:15 2012 -0500
virtio_net: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Rusty Russell rusty@rustcorp.com.au Cc: Michael S. Tsirkin mst@redhat.com Cc: virtualization@lists.linux-foundation.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 633d1594974b33a673a9eaf141d557e176202d8f Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:14 2012 -0500
net/phy: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 45ac936c3ec93f347cfb7652bd7b332dc0c9b2e8 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:13 2012 -0500
irda: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Samuel Ortiz samuel@sortiz.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit bb1f4606754c45bbb467c15aa5fec84228f73e47 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:12 2012 -0500
ieee802154: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 6e9454913e9b0e7b02377ee102348dd8e9681f44 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:11 2012 -0500
hippi: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Jes Sorensen jes@trained-monkey.org Cc: linux-hippi@sunsite.dk Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit c354dfc3f222ec895411a8297d929ff666cbc153 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:10 2012 -0500
fddi: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Maciej W. Rozycki macro@linux-mips.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit a0a4efedf9dea0f2dd9625181b48c1f8c6d5418e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:09 2012 -0500
net/ethernet: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 06b0e68327d499c3588c954d2a2d86458d451c4b Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:08 2012 -0500
net/xilinx: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 0e1effe39a5973888bed03db3a4998c4b8ba333a Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:07 2012 -0500
net/wiznet: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit fe4a57c581f88e81e9274e0750f1a22c8c73cf58 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:06 2012 -0500
net/ps3_gelic_wireless: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 671a1435b4e04aa7fadca6e19d39cbc2d0617319 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:05 2012 -0500
net/spider_net: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Ishizaki Kou kou.ishizaki@toshiba.co.jp Cc: Jens Osterkamp jens@de.ibm.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 14d4171de914859ea34cc820d1548c5063b8aaf4 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:04 2012 -0500
net/ps3_gelic_net: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Geoff Levand geoff@infradead.org Cc: cbe-oss-dev@lists.ozlabs.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit e38921d4dd7d2f052c1c2344fac307463c3b8d2d Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:03 2012 -0500
net/davinci_emac: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit f73d12bd298f9614d8600326e9bd1f7871fcde4b Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:02 2012 -0500
net/sun: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit f48a3c2af87960e3d497b518a3253337a18016db Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:01 2012 -0500
net/sgi: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 03c4d832a2a752120d18567c27812d53ab176e6e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:24:00 2012 -0500
net/pasemi: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Olof Johansson olof@lixom.net Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 654b8c5ce3b32403a915dfd41d92ad3118c3406e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:59 2012 -0500
net/micrel: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 33897cc869eef8b878b2408f77b7b0387e43e74e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:58 2012 -0500
net/freescale: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 37a5b3d5315ab8c354ec147e26b3870dd5c93813 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:57 2012 -0500
net/cadence: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Nicolas Ferre nicolas.ferre@atmel.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 093d369d4e8e8b6361317edd83935bdf8a0c83de Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:56 2012 -0500
net/atheros: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Jay Cliburn jcliburn@gmail.com Cc: Chris Snook chris.snook@gmail.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 97c71ad4cef8bf9af36d2c495a971e149a9b77c8 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:55 2012 -0500
net/apple: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 0cb0568dfea6b51a39362c484c9caddfc94a78b0 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:54 2012 -0500
net/amd: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit af37557b1b222c64e005c105c81aa3888128bb5d Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:53 2012 -0500
jme: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Guo-Fu Tseng cooldavid@cooldavid.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 331774760a65c27c673aa7735075124978e7994b Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:52 2012 -0500
icplus: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Francois Romieu romieu@fr.zoreil.com Cc: Sorbica Shieh sorbica@icplus.com.tw Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 9871b639d00b75625a4bc855c09096e2c4897816 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:51 2012 -0500
ixp4xx_eth: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Krzysztof Halasa khc@pm.waw.pl Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 48d16cb1befb39ab1d7dc5842182d6133d88de0e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:50 2012 -0500
xilinx_axienet: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Anirudha Sarangi anirudh@xilinx.com Cc: John Linn John.Linn@xilinx.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 27add00620ed820f94c8d332591fe73ba384b7e9 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:49 2012 -0500
via-velocity: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Francois Romieu romieu@fr.zoreil.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 76e239e1fa66eab1cb5b80a86d4803dc839bbc8f Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:48 2012 -0500
via-rhine: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Roger Luethi rl@hellgate.ch Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit b38d13066020a5390b59d1b740b7985d548bfb5b Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:47 2012 -0500
tc35815: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 17abe3e4c67bfbf20e870be9c8b4634c12f73018 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:46 2012 -0500
tehuti: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Andy Gospodarek andy@greyhouse.net Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 663e12e61d8764ce342588325d1050d9cb5460c0 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:45 2012 -0500
cpsw: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 369158767af29ed54f3751f80222e751cf60236c Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:44 2012 -0500
tlan: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Samuel Chessman chessman@tux.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit f57ae66ee5486426fc86ed46f97c5e15792c8535 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:43 2012 -0500
cpmac: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Florian Fainelli florian@openwrt.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit b0171cdc3702416274f05936ef63767d71c25065 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:42 2012 -0500
epic100: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 779c1a85813a4622cc3bb3d25ce10b523bd055ba Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:41 2012 -0500
tulip: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Grant Grundler grundler@parisc-linux.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit f3f9e50927b6c4791bf81dacae8bf5e7832b535d Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:40 2012 -0500
smsc9420: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Steve Glendinning steve.glendinning@shawell.net Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 9f1e13db5987c440a76c496d83c773c13afb557e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:39 2012 -0500
smc911x: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 8489ec1f97006495d9eb06a90f1ffcbfeb879aab Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:38 2012 -0500
smsc911x: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Steve Glendinning steve.glendinning@shawell.net Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 1e48fea4805db6766708d9387f8dc1c5d5226263 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:37 2012 -0500
smc91x: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Nicolas Pitre nico@fluxnic.net Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 369e12313dbf7a08fa9ed50c07edd4b5ad399251 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:36 2012 -0500
sis900: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Daniele Venzano venza@brownhat.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit fe80f565d5007716c60d0a82497bed1d537a09a3 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:35 2012 -0500
sis190: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Francois Romieu romieu@fr.zoreil.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 979857bbcfd493ce23f4865c7eb11c8853f065a4 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:34 2012 -0500
stmmac: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Giuseppe Cavallaro peppe.cavallaro@st.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 58af79f06236164ce10e9b08aac12945496b4f5e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:33 2012 -0500
sc92031: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 87d1fc11303473a2bd74eedb8377ff80d853972b Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:32 2012 -0500
sfc: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Solarflare linux maintainers linux-net-drivers@solarflare.com Cc: Ben Hutchings bhutchings@solarflare.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 5911ce0d99b37a902b2c85e172139ce76c8fc583 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:31 2012 -0500
seeq: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Russell King linux@arm.linux.org.uk Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit f1e242648bce83ec67f8bc047e1ad1ade7b85725 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:30 2012 -0500
r6040: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Florian Fainelli florian@openwrt.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit b4e54a9442c741e09f7df92f1f62e282a9c3dd05 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:29 2012 -0500
8139too: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit baf63293532a0c23478c46df959ad11f93a0b904 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:28 2012 -0500
r8169: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Realtek linux nic maintainers nic_swsd@realtek.com Cc: Francois Romieu romieu@fr.zoreil.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 5d8e87265715a109b3e3dc0829dc2dbcbf8b16ac Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:27 2012 -0500
qlge: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Jitendra Kalsaria jitendra.kalsaria@qlogic.com Cc: Ron Mercer ron.mercer@qlogic.com Cc: linux-driver@qlogic.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit e3a582feac18f586d1ba9ddb08d4f77719923bc9 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:26 2012 -0500
qla3xxx: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Jitendra Kalsaria jitendra.kalsaria@qlogic.com Cc: Ron Mercer ron.mercer@qlogic.com Cc: linux-driver@qlogic.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 6bb58bb0afa28bc573fb8240a4bc4e04890e3389 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:25 2012 -0500
qlcnic: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Jitendra Kalsaria jitendra.kalsaria@qlogic.com Cc: Sony Chacko sony.chacko@qlogic.com Cc: linux-driver@qlogic.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit c3f9c88c1ca2902bcadae7138d2b3de552205f64 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:24 2012 -0500
netxen: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Sony Chacko sony.chacko@qlogic.com Cc: Rajesh Borundia rajesh.borundia@qlogic.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 134c1f154e1f9c0c7eddc9d5d13e110aed16b03e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:23 2012 -0500
packetengines: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 5bc7ec702fd7680eb12be88ada87742db9676f5c Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:22 2012 -0500
net/octeon_mgmt: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 21524526b3ec66329cba682f11fdba77c8b0e698 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:21 2012 -0500
lpc_eth: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit d05919a148154d6814cf98f515d477bf676e957e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:20 2012 -0500
forcedeth: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 26735f2f126f5d75234e205687e3c15e1a5a3684 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:19 2012 -0500
nuvoton: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Wan ZongShun mcuos.com@gmail.com Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 3a036ce5c6fdd787d3146c639871668996221c0d Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:18 2012 -0500
vxge/s2io: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Jon Mason jdmason@kudzu.us Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 6980cbe4a6dbb3d7871e99a3cbc74a572d14d327 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:17 2012 -0500
natsemi: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 19d1b44aa8eba6304abdfe9761bb941f38b512f5 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:16 2012 -0500
enc28j60: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit f57e68488e27fb99bda29eb0c42b5450e439aa87 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:15 2012 -0500
mlx4_core: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 853e3f4c5f49e51c904dab0d25eda82a92f1341f Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:14 2012 -0500
skge: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Mirko Lindner mlindner@marvell.com Cc: Stephen Hemminger shemminger@vyatta.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit fe17dc1e2bae8599aa034e678f7bbfd1f98e5a15 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:13 2012 -0500
ibm/emac: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit e11787a2313c41a1f4469d797b2d9bc6fe0642b1 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:12 2012 -0500
ibmveth: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Santiago Leon santil@linux.vnet.ibm.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 170b52b873ca0772a1ae2453258eeec825d9b8af Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:11 2012 -0500
hp100: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Jaroslav Kysela perex@perex.cz Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 0297be07091fc809f27a9f50e5130d41c9ac3f52 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:10 2012 -0500
ehea: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Thadeu Lima de Souza Cascardo cascardo@linux.vnet.ibm.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 3bc6b06ce06039b981333e600f79963ae5a86dba Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:09 2012 -0500
be2net: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Sathya Perla sathya.perla@emulex.com Cc: Subbu Seetharaman subbu.seetharaman@emulex.com Cc: Ajit Khaparde ajit.khaparde@emulex.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 4f2c53ea27a8d12aaf07f61b5d13d20cadfdefd0 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:08 2012 -0500
fs_enet: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Pantelis Antoniou pantelis.antoniou@gmail.com Cc: Vitaly Bordug vbordug@ru.mvista.com Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 64bc40de134bb5c7826ff384016f654219ed3956 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:07 2012 -0500
dlink: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 6b6a3e7f65e5736030032b4d39901479ba437e5f Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:06 2012 -0500
dm9000: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 854de92f6d3471e694ea807a52b2670862b15d42 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:05 2012 -0500
enic: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Christian Benvenuti benve@cisco.com Cc: Roopa Prabhu roprabhu@cisco.com Cc: Neel Patel neepatel@cisco.com Cc: Nishank Trivedi nistrive@cisco.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit ff76a3cca3a2f8664e0625cb4d75601ff9ccde76 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:04 2012 -0500
chelsio: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit d289f864601eb3678824ba3c0b15217af79171e0 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:03 2012 -0500
cxgb4vf: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Casey Leedom leedom@chelsio.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 91744948659a5cf937a9094f50f09c412656ca4a Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:02 2012 -0500
cxgb4: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Dimitris Michailidis dm@chelsio.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 2109eaab72cf95cbb2af51253b46a72e4f2180c9 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:01 2012 -0500
cxgb3: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Divy Le Ray divy@chelsio.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit c4eef189aaef84612de3961b2681fbf794afca20 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:23:00 2012 -0500
bna: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Rasesh Mody rmody@brocade.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 229b1ad1cb1a7159658f466c736bc3898dabb876 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:59 2012 -0500
tg3: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Matt Carlson mcarlson@broadcom.com Cc: Michael Chan mchan@broadcom.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit cfd95a634f49358ab8d2a759c637fef0b50e7583 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:58 2012 -0500
bnx2: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Michael Chan mchan@broadcom.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 239718871072b45370816cf272ea29c0d34b3d12 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:57 2012 -0500
b44: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Gary Zambrano zambrano@broadcom.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit a9590879e12f920d8b2fc74c019b5d1604068862 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:56 2012 -0500
pcnet32: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Don Fry pcnet32@frontier.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit c0c0e29d8c94fb483bf94a2157f1ef0a7fb70b55 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:55 2012 -0500
aeroflex: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Kristoffer Glembo kristoffer@gaisler.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 49f7315b3ece7900cbe763da2af67928fbdf6d55 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:54 2012 -0500
bfin_mac: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: uclinux-dist-devel@blackfin.uclinux.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit d3ace588d8f55b526f03c7277c8cf08a87ea7ce7 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:53 2012 -0500
starfire: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Ion Badulescu ionut@badula.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 083abbb7dc16b6b6955ef6f5299bdbff9877363f Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:52 2012 -0500
acenic: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Jes Sorensen jes@trained-monkey.org Cc: linux-acenic@sunsite.dk Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 4168ac0eb323fa1f886830a19b7f263643bc0cbd Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:51 2012 -0500
8390: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 2791cf7a73d4c0ab110bcf21b5c0575efbe934d0 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:50 2012 -0500
3c509: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 21cf689b16afa08fe8b02dfadaea88500d6c73c6 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:49 2012 -0500
typhoon: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: David Dillow dave@thedillows.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 3f6db0f38f2a170b4d9d5a7e3c329ab7701cd0cb Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:48 2012 -0500
3c59x: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Steffen Klassert klassert@mathematik.tu-chemnitz.de Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 58b10698d2d60b0b0c3bddd72038af14e62f92bc Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:47 2012 -0500
i825xx: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 663c2a69e943b391b3cea25c616e339c5d5d4fab Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:46 2012 -0500
i825xx/ether1.c: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Russell King linux@arm.linux.org.uk Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 92a66593e5e7ae60242c430abac7bd710d1c7da0 Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:45 2012 -0500
drivers/net/ethernet/amd/am79c961a.c: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Russell King linux@arm.linux.org.uk Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 3c8ac0f2ad53a96ac58efe7c98fac2986d081dfc Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:44 2012 -0500
can: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Cc: Wolfgang Grandegger wg@grandegger.com Cc: Marc Kleine-Budde mkl@pengutronix.de Cc: linux-can@vger.kernel.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 7c47bab62192d4dd6ba7f7633f2fb94d259e964e Author: Bill Pemberton wfp5p@virginia.edu Date: Mon Dec 3 09:22:43 2012 -0500
ARCNET: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit.
Signed-off-by: Bill Pemberton wfp5p@virginia.edu Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
commit 9ba2add3cf5c103b7236f82a023c8ee05a51e4d1 Author: Shmulik Ladkani shmulik.ladkani@gmail.com Date: Sun Dec 2 01:44:53 2012 +0000
ipv6: Make 'addrconf_rs_timer' send Router Solicitations (and re-arm itself) if Router Advertisements are accepted
As of 026359b [ipv6: Send ICMPv6 RSes only when RAs are accepted], Router Solicitations are sent whenever kernel accepts Router Advertisements on the interface.
However, this logic isn't reflected in 'addrconf_rs_timer'.
The timer fails to issue subsequent RS messages (and fails to re-arm itself) if forwarding is enabled and the special hybrid mode is enabled (accept_ra=2).
Fix the condition determining whether next RS should be sent, by using 'ipv6_accept_ra()'.
Reported-by: Ami Koren amikoren@yahoo.com Signed-off-by: Shmulik Ladkani shmulik.ladkani@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit 1c85382e30618f66d4b15e608ff32253beb22649 Author: Lino Sanfilippo LinoSanfilippo@gmx.de Date: Sat Dec 1 02:39:28 2012 +0000
sky2: fix cleanup sequence in probe() function
The cleanup sequence in sky2_probe() that is called in case of an error is mixed up in different places:
- pci_disable_device() is not called in each case the device has been enabled before
- same for pci_disable_msi(): test_msi() may return with an error != EOPNOTSUPP (due to failure of request_irq()). In that case msi is not disabled
- also failure of register_netdev() does not disable msi
This patch fixes the concerning parts.
Signed-off-by: Lino Sanfilippo LinoSanfilippo@gmx.de Signed-off-by: David S. Miller davem@davemloft.net
commit cb64edb6b89491edfdbae52ba7db9a8b8391d339 Author: John Greene jogreene@redhat.com Date: Mon Dec 3 06:19:33 2012 +0000
8139cp: properly support change of MTU values [v2]
The 8139cp driver has a change_mtu function that has not been enabled since the dawn of the git repository. However, the generic eth_change_mtu is not used in its place, so that invalid MTU values can be set on the interface.
Original patch salvages the broken code for the single case of setting the MTU while the interface is down, which is safe and also includes the range check. Now enhanced to support up or down interface.
v2: fix case where rxbufsz isn't changed in the up state case
Original patch from http://lkml.indiana.edu/hypermail/linux/kernel/1202.2/00770.html
Testing: has been test on virtual 8139cp setup without issue, have no access real hardware 8139cp, need testing help.
Signed-off-by: "John Greene" jogreene@redhat.com CC: "David S. Miller" davem@davemloft.net Signed-off-by: David S. Miller davem@davemloft.net
commit eb0fb363f920e4d8c70d30b712f9dd433271218c Author: Jason Wang jasowang@redhat.com Date: Sun Dec 2 17:19:45 2012 +0000
tuntap: attach queue 0 before registering netdevice
We attach queue 0 after registering netdevice currently. This leads to call netif_set_real_num_{tx|rx}_queues() after registering the netdevice. Since we allow tun/tap has a maximum of 1024 queues, this may lead a huge number of uevents to be injected to userspace since we create 2048 kobjects and then remove 2046. Solve this problem by attaching queue 0 and set the real number of queues before registering netdevice.
Reported-by: Jiri Slaby jslaby@suse.cz Tested-by: Jiri Slaby jslaby@suse.cz Signed-off-by: Jason Wang jasowang@redhat.com Signed-off-by: David S. Miller davem@davemloft.net
commit 092a5fc9636268bc2c0fef4d9b99845699cf19f9 Author: Yaniv Rosner yaniv.rosner@broadcom.com Date: Sun Dec 2 23:56:49 2012 +0000
bnx2x: recognize fan failure
If fan failure is detected, MCP prevents PCI I/O registers from being mapped to the bar, causing a fatal error as driver is unaware.
This patch recognizes such an event occurred and gracefully terminates the probe process.
Signed-off-by: Yaniv Rosner yaniv.rosner@broadcom.com Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit 64e9a9b8a0eef9cbd9f86f0e79fc4eeea24abe76 Author: Michael S. Tsirkin mst@redhat.com Date: Mon Dec 3 07:31:51 2012 +0000
vhost-net: initialize zcopy packet counters
These packet counters are used to drive the zercopy selection heuristic so nothing too bad happens if they are off a bit - and they are also reset once in a while. But it's cleaner to clear them when backend is set so that we start in a known state.
Signed-off-by: Michael S. Tsirkin mst@redhat.com Signed-off-by: David S. Miller davem@davemloft.net
commit 3e14bd390ebe41e8b83855fd85fb64478c7c5ee2 Author: walimis walimisdev@gmail.com Date: Mon Dec 3 02:19:44 2012 +0000
stmmac: remove two repeated macros
Two macros have been defined twice, remove them.
Signed-off-by: Liming Wang walimisdev@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit f210e87b6d3aab1fb3eb51a006f4502c1a7a2494 Author: Denis Kirjanov kda@linux-powerpc.org Date: Sat Dec 1 08:39:19 2012 +0000
sundance: Enable WoL support
Enable WoL support.
Signed-off-by: Denis Kirjanov kda@linux-powerpc.org Signed-off-by: David S. Miller davem@davemloft.net
commit 196d67593439b03088913227093e374235596e33 Author: Michele Baldessari michele@acksyn.org Date: Sat Dec 1 04:49:42 2012 +0000
sctp: Add support to per-association statistics via a new SCTP_GET_ASSOC_STATS call
The current SCTP stack is lacking a mechanism to have per association statistics. This is an implementation modeled after OpenSolaris' SCTP_GET_ASSOC_STATS.
Userspace part will follow on lksctp if/when there is a general ACK on this. V4: - Move ipackets++ before q->immediate.func() for consistency reasons - Move sctp_max_rto() at the end of sctp_transport_update_rto() to avoid returning bogus RTO values - return asoc->rto_min when max_obs_rto value has not changed
V3: - Increase ictrlchunks in sctp_assoc_bh_rcv() as well - Move ipackets++ to sctp_inq_push() - return 0 when no rto updates took place since the last call
V2: - Implement partial retrieval of stat struct to cope for future expansion - Kill the rtxpackets counter as it cannot be precise anyway - Rename outseqtsns to outofseqtsns to make it clearer that these are out of sequence unexpected TSNs - Move asoc->ipackets++ under a lock to avoid potential miscounts - Fold asoc->opackets++ into the already existing asoc check - Kill unneeded (q->asoc) test when increasing rtxchunks - Do not count octrlchunks if sending failed (SCTP_XMIT_OK != 0) - Don't count SHUTDOWNs as SACKs - Move SCTP_GET_ASSOC_STATS to the private space API - Adjust the len check in sctp_getsockopt_assoc_stats() to allow for future struct growth - Move association statistics in their own struct - Update idupchunks when we send a SACK with dup TSNs - return min_rto in max_rto when RTO has not changed. Also return the transport when max_rto last changed.
Signed-off: Michele Baldessari michele@acksyn.org Acked-by: Vlad Yasevich vyasevich@gmail.com
Signed-off-by: David S. Miller davem@davemloft.net
commit 96070ae4d08eefe62ac534904ce21a01e1a5c9c4 Author: Alexander Shiyan shc_work@mail.ru Date: Sat Dec 1 01:07:26 2012 +0000
irda: ep7211-sir: Convert to platform_diver
This patch converts ep7211-sir driver to platform_driver. Since driver can be used not only for EP7211 CPU, function names was be renamed to generic clps711x...
Signed-off-by: Alexander Shiyan shc_work@mail.ru Acked-by: Arnd Bergmann arnd@arndb.de Signed-off-by: David S. Miller davem@davemloft.net
commit a0ecb85a2c3af73c63b6d44ce82aea52347ccf55 Author: Jozsef Kadlecsik kadlec@blackhole.kfki.hu Date: Fri Nov 30 12:37:26 2012 +0000
netfilter: nf_nat: Handle routing changes in MASQUERADE target
When the route changes (backup default route, VPNs) which affect a masqueraded target, the packets were sent out with the outdated source address. The patch addresses the issue by comparing the outgoing interface directly with the masqueraded interface in the nat table.
Events are inefficient in this case, because it'd require adding route events to the network core and then scanning the whole conntrack table and re-checking the route for all entry.
Signed-off-by: Jozsef Kadlecsik kadlec@blackhole.kfki.hu Signed-off-by: Pablo Neira Ayuso pablo@netfilter.org
commit 6d1fafcaecaa2e66eb9861a39d22fc7380ce6f78 Author: Florian Westphal fw@strlen.de Date: Thu Nov 22 01:32:46 2012 +0000
netfilter: ctnetlink: nla_policy updates
Add stricter checking for a few attributes. Note that these changes don't fix any bug in the current code base.
Signed-off-by: Florian Westphal fw@strlen.de Signed-off-by: Pablo Neira Ayuso pablo@netfilter.org
commit 0360ae412d09bc6f4864c801effcb20bfd84520e Author: Florian Westphal fw@strlen.de Date: Fri Nov 23 06:22:21 2012 +0000
netfilter: kill support for per-af queue backends
We used to have several queueing backends, but nowadays only nfnetlink_queue remains.
In light of this there doesn't seem to be a good reason to support per-af registering -- just hook up nfnetlink_queue on module load and remove it on unload.
This means that the userspace BIND/UNBIND_PF commands are now obsolete; the kernel will ignore them.
Signed-off-by: Florian Westphal fw@strlen.de Signed-off-by: Pablo Neira Ayuso pablo@netfilter.org
commit d871befe357ccc262edbb0a4f9aeea650012edf5 Author: Pablo Neira Ayuso pablo@netfilter.org Date: Tue Nov 27 14:49:42 2012 +0100
netfilter: ctnetlink: dump entries from the dying and unconfirmed lists
This patch adds a new operation to dump the content of the dying and unconfirmed lists.
Under some situations, the global conntrack counter can be inconsistent with the number of entries that we can dump from the conntrack table. The way to resolve this is to allow dumping the content of the unconfirmed and dying lists, so far it was not possible to look at its content.
This provides some extra instrumentation to resolve problematic situations in which anyone suspects memory leaks.
Signed-off-by: Pablo Neira Ayuso pablo@netfilter.org
commit 04dac0111da7e1d284952cd415162451ffaa094d Author: Pablo Neira Ayuso pablo@netfilter.org Date: Tue Nov 27 21:30:52 2012 +0100
netfilter: nf_conntrack: improve nf_conn object traceability
This patch modifies the conntrack subsystem so that all existing allocated conntrack objects can be found in any of the following places:
* the hash table, this is the typical place for alive conntrack objects. * the unconfirmed list, this is the place for newly created conntrack objects that are still traversing the stack. * the dying list, this is where you can find conntrack objects that are dying or that should die anytime soon (eg. once the destroy event is delivered to the conntrackd daemon).
Thus, we make sure that we follow the track for all existing conntrack objects. This patch, together with some extension of the ctnetlink interface to dump the content of the dying and unconfirmed lists, will help in case to debug suspected nf_conn object leaks.
Signed-off-by: Pablo Neira Ayuso pablo@netfilter.org
commit 9076aea76538556224e7d73ab718f8841330818a Author: Jozsef Kadlecsik kadlec@blackhole.kfki.hu Date: Tue Nov 27 09:58:09 2012 +0000
netfilter: ipset: Increase the number of maximal sets automatically
The max number of sets was hardcoded at kernel cofiguration time and could only be modified via a module parameter. The patch adds the support of increasing the max number of sets automatically, as needed.
The array of sets is incremented by 64 new slots if we run out of empty slots. The absolute limit for the maximal number of sets is limited by 65534.
Signed-off-by: Jozsef Kadlecsik kadlec@blackhole.kfki.hu Signed-off-by: Pablo Neira Ayuso pablo@netfilter.org
commit 60e476d02129acb1f863a9b4932358678ee6a355 Author: Cyril Roelandt tipecaml@gmail.com Date: Sat Dec 1 16:40:17 2012 +0000
bna: remove useless calls to memset().
These calls are followed by calls to memcpy() on the same memory area, so they can safely be removed.
Signed-off-by: Cyril Roelandt tipecaml@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit 02275a2ee7c0ea475b6f4a6428f5df592bc9d30b Author: Willy Tarreau w@1wt.eu Date: Sun Dec 2 11:49:27 2012 +0000
tcp: don't abort splice() after small transfers
TCP coalescing added a regression in splice(socket->pipe) performance, for some workloads because of the way tcp_read_sock() is implemented.
The reason for this is the break when (offset + 1 != skb->len).
As we released the socket lock, this condition is possible if TCP stack added a fragment to the skb, which can happen with TCP coalescing.
So let's go back to the beginning of the loop when this happens, to give a chance to splice more frags per system call.
Doing so fixes the issue and makes GRO 10% faster than LRO on CPU-bound splice() workloads instead of the opposite.
Signed-off-by: Willy Tarreau w@1wt.eu Signed-off-by: Eric Dumazet edumazet@google.com Signed-off-by: David S. Miller davem@davemloft.net
commit 077b393d05915f04e2629bfc47c6fce95cae7d3f Author: Eric Dumazet edumazet@google.com Date: Sun Dec 2 07:33:10 2012 +0000
net: fix sparse endianness warnings on sock_common
# make C=2 CF=-D__CHECK_ENDIAN__ net/ipv4/inet_hashtables.o ... net/ipv4/inet_hashtables.c:242:7: warning: restricted __portpair degrades to integer net/ipv4/inet_hashtables.c:242:7: warning: restricted __addrpair degrades to integer ...
Move __portpair/__addrpair from include/net/inet_hashtables.h to include/net/sock.h where we need them in struct sock_common
Reported-by: Fengguang Wu fengguang.wu@intel.com Signed-off-by: Eric Dumazet edumazet@google.com Cc: Ling Ma ling.ma.program@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit 049b467d7a57e7b978ce063ee3639670f383fb5c Author: Barak Witkowski barak@broadcom.com Date: Sun Dec 2 04:05:57 2012 +0000
bnx2x: Correct PFC disablement
bnx2x driver could only have enabled pfc via usage of dcbnl; now, it can also correctly disable it.
Signed-off-by: Barak Witkowski barak@broadcom.com Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit cd1dfce2ed571bc3d1962987b5c7d2d6e936bb27 Author: Yuval Mintz yuvalmin@broadcom.com Date: Sun Dec 2 04:05:56 2012 +0000
bnx2x: fix 'Ethtool -A' when autoneg
When configuring pauses using 'ethtool -A', the requested values have effect when used together with autoneg (up to this point, when configured for autoneg, driver ignored requested pause configuration)
Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit 0370cf901dd923ce784efe486c8ba66babad693b Author: Barak Witkowski barak@broadcom.com Date: Sun Dec 2 04:05:55 2012 +0000
bnx2x: prevent DCB if disabled in nvram
Signed-off-by: Barak Witkowski barak@broadcom.com Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit 27c1151c324b5a7dacd2d03e54b7c99aa5b67f27 Author: Yaniv Rosner yaniv.rosner@broadcom.com Date: Sun Dec 2 04:05:54 2012 +0000
bnx2x: Handle a rarely missed interrupt
A rare case of no link due to a missed interrupt may occur due to a race condition between acknowledging the IGU via the BAR and restoring the NIG interrupt mask via the GRC. To solve it, we wait for the IGU ack command to finish prior to restoring the NIG interrupt mask.
Signed-off-by: Yaniv Rosner yaniv.rosner@broadcom.com Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit b343d0025b08a1ef543e3cabf8b753d84b938d48 Author: Yuval Mintz yuvalmin@broadcom.com Date: Sun Dec 2 04:05:53 2012 +0000
bnx2x: mask CPL_OF interrupt
Unmasked interrupt caused "FATAL HW block attention set2 0x20" messages to erroneously appear, as the associated interrupt is fully recoverable.
Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit 9b341bb1d8e6bc9f00044bd9d66824505b127e4a Author: Barak Witkowski barak@broadcom.com Date: Sun Dec 2 04:05:52 2012 +0000
bnx2x: IGU parse error cause probe failure
If IGU parse error is encountered during the probing process, the error propagates and the probe gracefully fails (until now, such errors were ignored, later causing mischief).
Signed-off-by: Barak Witkowski barak@broadcom.com Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit 382e513a18ef988e547b0744c63c110aa052afd2 Author: Yuval Mintz yuvalmin@broadcom.com Date: Sun Dec 2 04:05:51 2012 +0000
bnx2x: Ext. config accessed only on non-E1x.
Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit 7964211d3891d0271c5fc8087cd49c018b30476d Author: Yuval Mintz yuvalmin@broadcom.com Date: Sun Dec 2 04:05:50 2012 +0000
bnx2x: nvram enables dropless flow control
It is now possible to enable dropless flow control via nvram.
Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit 59694f0087b6a31893719eb396be8698735b66d3 Author: Yuval Mintz yuvalmin@broadcom.com Date: Sun Dec 2 04:05:49 2012 +0000
bnx2x: Correct advertised speed/duplex
If link is down due to management (and not due to actual phy link being lost), driver should still behave as if the link is down; Querying via ethtool about speed/duplex state should result in 'UNKNOWN' (same behaviour as when link is actually down).
Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit c96bdc0c9e86ac243c5eff41c0c1418cbbc3057c Author: Dmitry Kravkov dmitry@broadcom.com Date: Sun Dec 2 04:05:48 2012 +0000
bnx2x: Filter packets on FCoE rings
Whenever bnx2x fails to transmit a packet due to a full Tx ring, if the ring size is zero (indicating an FCoE ring) driver filters the packet out and gracefully continues. Driver also gathers statistics on such filtered packets.
Signed-off-by: Dmitry Kravkov dmitry@broadcom.com Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit 4c704899328bcb448d9c7fa709777b3e28e05f6a Author: Barak Witkowski barak@broadcom.com Date: Sun Dec 2 04:05:47 2012 +0000
bnx2x: Management can control PFC/ETS
If configured for PFC/ETS by management, configure chip regardless of the presence of a remote peer which supports DCBX.
Signed-off-by: Barak Witkowski barak@broadcom.com Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit c55e771b7e6274f7e12d5bcaa8e7dec8a1e41c42 Author: Barak Witkowski barak@broadcom.com Date: Sun Dec 2 04:05:46 2012 +0000
bnx2x: parity recovery flow enhancement
Parity recovery was enhanced in order to handle a few more corner cases.
Signed-off-by: Barak Witkowski barak@broadcom.com Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit d6d99a3f7e9169ef351340b217b48accab78e849 Author: Yuval Mintz yuvalmin@broadcom.com Date: Sun Dec 2 04:05:45 2012 +0000
bnx2x: revised and corrected SPIO access
Changed naming convention of SPIO macros, and prevented access to invalid SPIOs.
Signed-off-by: Yuval Mintz yuvalmin@broadcom.com Signed-off-by: Eilon Greenstein eilong@broadcom.com Signed-off-by: David S. Miller davem@davemloft.net
commit d317966bd3249ee7cd912931ab013c49cb77b9a4 Author: Amir Vadai amirv@mellanox.com Date: Sun Dec 2 03:49:23 2012 +0000
net/mlx4_en: Set number of rx/tx channels using ethtool
Add support to changing number of rx/tx channels using ethtool ('ethtool -[lL]'). Where the number of tx channels specified in ethtool is the number of rings per user priority - not total number of tx rings.
Signed-off-by: Amir Vadai amirv@mellanox.com Signed-off-by: David S. Miller davem@davemloft.net
commit 79c54b6bbf06a4ecd5343ea3687cd36c01f76d56 Author: Amir Vadai amirv@mellanox.com Date: Sun Dec 2 03:49:22 2012 +0000
net/mlx4_en: Fix TX moderation info loss after set_ringparam is called
We need to re-set tx moderation information after calling set_ringparam else default tx moderation will be used. Also avoid related code duplication, by putting it in a utility function.
Signed-off-by: Amir Vadai amirv@mellanox.com Signed-off-by: David S. Miller davem@davemloft.net
commit 2c46c9d5779d40e4a2f36f24017de4342344e258 Author: Amir Vadai amirv@mellanox.com Date: Sun Dec 2 03:49:21 2012 +0000
MAINTAINERS: Add Mellanox ethernet driver - mlx4_en
Set mlx4_en maintainer to Amir Vadai instead of Yevgeny Petrilin.
Signed-off-by: Amir Vadai amirv@mellanox.com Cc: Yevgeny Petrilin yevgenyp@mellanox.com Signed-off-by: David S. Miller davem@davemloft.net
commit ddb303301bed80f700db6f36870642a08016f266 Merge: 577b981 c48d49a Author: David S. Miller davem@davemloft.net Date: Sat Dec 1 20:45:24 2012 -0500
Merge git://git.infradead.org/users/dwmw2/atm
David Woodhouse says:
==================== This is the result of pulling on the thread started by Krzysztof Mazur's original patch 'pppoatm: don't send frames to destroyed vcc'.
Various problems in the pppoatm and br2684 code are solved, some of which were easily triggered and would panic the kernel. ====================
Signed-off-by: David S. Miller davem@davemloft.net
commit c48d49aab0b5b48b40e00fe43927efed5fc09d88 Author: David Woodhouse David.Woodhouse@intel.com Date: Thu Nov 29 23:28:30 2012 +0000
solos-pci: remove list_vccs() debugging function
No idea why we've gone so long dumping a list of VCCs with vci==0 on every ->open() call...
Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit a1db5c5b75d6781e8e4dcd6621d5c10463bee0ef Author: David Woodhouse David.Woodhouse@intel.com Date: Thu Nov 29 23:27:20 2012 +0000
solos-pci: use GFP_KERNEL where possible, not GFP_ATOMIC
Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit 213e85d389124f49c82d52cfb4473b8bb672f7c1 Author: David Woodhouse David.Woodhouse@intel.com Date: Thu Nov 29 23:15:30 2012 +0000
solos-pci: clean up pclose() function
- Flush pending TX skbs from the queue rather than waiting for them all to complete (suggested by Krzysztof Mazur krzysiek@podlesie.net). - Clear ATM_VF_ADDR only when the PKT_PCLOSE packet has been submitted. - Don't clear ATM_VF_READY at all — vcc_destroy_socket() does that for us.
Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit 5b4d72080f49498d2390563aa90f5bc31785406c Author: David Woodhouse David.Woodhouse@intel.com Date: Wed Nov 28 10:15:05 2012 +0000
pppoatm: optimise PPP channel wakeups after sock_owned_by_user()
We don't need to schedule the wakeup tasklet on *every* unlock; only if we actually blocked the channel in the first place.
Signed-off-by: David Woodhouse David.Woodhouse@intel.com Acked-by: Krzysztof Mazur krzysiek@podlesie.net
commit 9eba25268e5862571d53122065616c456fe1142a Author: Krzysztof Mazur krzysiek@podlesie.net Date: Wed Nov 28 09:08:04 2012 +0100
br2684: allow assign only on a connected socket
The br2684 does not check if used vcc is in connected state, causing potential Oops in pppoatm_send() when vcc->send() is called on not fully connected socket.
Now br2684 can be assigned only on connected sockets; otherwise -EINVAL error is returned.
Signed-off-by: Krzysztof Mazur krzysiek@podlesie.net Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit 007ef52be171b9eee6f4099d3e5706e8068d31ef Author: Nathan Williams nathan@traverse.com.au Date: Tue Nov 27 17:34:09 2012 +1100
solos-pci: Fix leak of skb received for unknown vcc
... and ensure that the next skb is set up for RX in the DMA case.
Signed-off-by: Nathan Williams nathan@traverse.com.au Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit d71ffeb12378243babb2227acfed0c8d263e237e Author: David Woodhouse David.Woodhouse@intel.com Date: Wed Nov 28 00:46:45 2012 +0000
br2684: fix module_put() race
The br2684 code used module_put() during unassignment from vcc with hope that we have BKL. This assumption is no longer true.
Now owner field in atmvcc is used to move this module_put() to vcc_destroy_socket().
Signed-off-by: David Woodhouse David.Woodhouse@intel.com Acked-by: Krzysztof Mazur krzysiek@podlesie.net
commit 0e56d99a5b557c760394d6941d7d1fc8d279eff3 Author: David Woodhouse David.Woodhouse@intel.com Date: Wed Nov 28 00:05:52 2012 +0000
pppoatm: fix missing wakeup in pppoatm_send()
Now that we can return zero from pppoatm_send() for reasons *other* than the queue being full, that means we can't depend on a subsequent call to pppoatm_pop() waking the queue, and we might leave it stalled indefinitely.
Use the ->release_cb() callback to wake the queue after the sock is unlocked.
Signed-off-by: David Woodhouse David.Woodhouse@intel.com Acked-by: Krzysztof Mazur krzysiek@podlesie.net
commit b89588531f1db93a218c108eee713ff6002a67bf Author: David Woodhouse dwmw2@infradead.org Date: Tue Nov 27 23:28:36 2012 +0000
br2684: don't send frames on not-ready vcc
Avoid submitting packets to a vcc which is being closed. Things go badly wrong when the ->pop method gets later called after everything's been torn down.
Use the ATM socket lock for synchronisation with vcc_destroy_socket(), which clears the ATM_VF_READY bit under the same lock. Otherwise, we could end up submitting a packet to the device driver even after its ->ops->close method has been called. And it could call the vcc's ->pop method after the protocol has been shut down. Which leads to a panic.
Signed-off-by: David Woodhouse David.Woodhouse@intel.com Acked-by: Krzysztof Mazur krzysiek@podlesie.net
commit c971f08cba56ed17fe22040ca5ff97fe5c3f0bd7 Author: David Woodhouse David.Woodhouse@intel.com Date: Wed Nov 28 00:03:11 2012 +0000
atm: add release_cb() callback to vcc
The immediate use case for this is that it will allow us to ensure that a pppoatm queue is woken after it has to drop a packet due to the sock being locked.
Note that 'release_cb' is called when the socket is *unlocked*. This is not to be confused with vcc_release() — which probably ought to be called vcc_close().
Signed-off-by: David Woodhouse David.Woodhouse@intel.com Acked-by: Krzysztof Mazur krzysiek@podlesie.net
commit 7ad3eadebcb1778c11bbf0fe059d0804173a8123 Author: David Woodhouse David.Woodhouse@intel.com Date: Tue Nov 27 23:49:24 2012 +0000
solos-pci: wait for pending TX to complete when releasing vcc
We should no longer be calling the old pop routine for the vcc, after vcc_release() has completed. Make sure we wait for any pending TX skbs to complete, by waiting for our own PKT_PCLOSE control skb to be sent.
Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit 577b981714b0b3530817569bf705bd74881efc83 Author: Wei Yongjun yongjun_wei@trendmicro.com.cn Date: Fri Nov 30 20:01:25 2012 +0000
qlcnic: remove duplicated include from qlcnic_sysfs.c
Remove duplicated include.
Signed-off-by: Wei Yongjun yongjun_wei@trendmicro.com.cn Acked-by: Sony Chacko sony.chacko@qlogic.com Signed-off-by: David S. Miller davem@davemloft.net
commit 30828d2b6070f1a4c71f26da75cda4bcdabfca02 Author: Andrew Gallatin gallatin@myri.com Date: Fri Nov 30 12:31:26 2012 +0000
myri10ge: fix incorrect use of ntohs()
1b4c44e6369dbbafd113f1e00b406f1eda5ab5b2 incorrectly used ntohs() rather than htons() in myri10ge_vlan_rx().
Thanks to Fengguang Wu, Yuanhan Liu's kernel-build tester for pointing out this bug.
Signed-off-by: Andrew Gallatin gallatin@myri.com Signed-off-by: David S. Miller davem@davemloft.net
commit aeaf6e9d2f49d793d3eb8c1af4095cf25e061b94 Author: Shmulik Ladkani shmulik.ladkani@gmail.com Date: Fri Nov 30 10:25:59 2012 +0000
ipv6: unify logic evaluating inet6_dev's accept_ra property
As of 026359b [ipv6: Send ICMPv6 RSes only when RAs are accepted], the logic determining whether to send Router Solicitations is identical to the logic determining whether kernel accepts Router Advertisements.
However the condition itself is repeated in several code locations.
Unify it by introducing 'ipv6_accept_ra()' accessor.
Also, simplify the condition expression, making it more readable. No semantic change.
Signed-off-by: Shmulik Ladkani shmulik.ladkani@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit fd90b29d757827ab12d6669292612308ec249532 Author: Eric Dumazet edumazet@google.com Date: Fri Nov 30 10:08:52 2012 +0000
tcp: change default tcp hash size
As time passed, available memory increased faster than number of concurrent tcp sockets.
As a result, a machine with 4GB of ram gets a hash table with 524288 slots, using 8388608 bytes of memory.
Lets change that by a 16x factor (one slot for 128 KB of ram)
Even if a small machine needs a _lot_ of sockets, tcp lookups are now very efficient, using one cache line per socket.
Signed-off-by: Eric Dumazet edumazet@google.com Signed-off-by: David S. Miller davem@davemloft.net
commit abe303dbc22bd16cde6f1a62fc25f63cc254caf7 Merge: a20da98 b9cc977 Author: David S. Miller davem@davemloft.net Date: Sat Dec 1 11:30:10 2012 -0500
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next
Ben Hutchings says:
==================== 1. More workarounds for TX queue flush failures that can occur during interface reconfiguration. 2. Fix spurious failure of a firmware request running during a system clock change, e.g. ntpd started at the same time as driver load. 3. Fix inconsistent statistics after a firmware upgrade. 4. Fix a variable (non-)initialisation in offline self-test that can make it more disruptive than intended. 5. Fix a race that can (at least) cause an assertion failure. 6. Miscellaneous cleanup. ====================
Signed-off-by: David S. Miller davem@davemloft.net
commit a20da984fb5ddedb9e8e699c04e10fe0ca609440 Merge: ce43b03 ed83da1 Author: David S. Miller davem@davemloft.net Date: Sat Dec 1 11:27:31 2012 -0500
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next
Jeff Kirsher says:
==================== This series contains updates to ixgbe, igb and e1000e. Majority of the changes are against igb. ====================
Signed-off-by: David S. Miller davem@davemloft.net
commit ed83da12ee742da8cefa784def3af64e4e195462 Author: Alexander Duyck alexander.h.duyck@intel.com Date: Tue Nov 13 01:13:33 2012 +0000
ixgbe: Do not parse past IP header on fragments beyond the first
This change makes it so that only the first fragment in a series of fragments will have the L4 header pulled. Previously we were always pulling the L4 header as well and in the case of UDP this can harm performance since only the first fragment will have the header, the rest just contain data which should be left in the paged portion of the packet.
Signed-off-by: Alexander Duyck alexander.h.duyck@intel.com Tested-by: Stephen Ko stephen.s.ko@intel.com Tested-by: Marcus Dennis marcusx.e.dennis@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirsher@intel.com
commit e921eb1ac411a32b98fa1a9ccbba1b24fae8de2d Author: Bruce Allan bruce.w.allan@intel.com Date: Wed Nov 28 09:28:37 2012 +0000
e1000e: cosmetic cleanup of comments
Update comments to conform to the preferred style for networking code as described in ./Documentation/CodingStyle and checked for in the recently added checkpatch NETWORKING_BLOCK_COMMENT_STYLE test.
Signed-off-by: Bruce Allan bruce.w.allan@intel.com Tested-by: Aaron Brown aaron.f.brown@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirsher@intel.com
commit daf56e406a94675d454f996cab56c3d0b0a0d8a6 Author: Carolyn Wyborny carolyn.wyborny@intel.com Date: Tue Oct 23 12:54:33 2012 +0000
igb: Fix SerDes autoneg flow control.
This patch enables flow control to be set in SerDes autoneg mode. This is done the way it is done for copper, but relies on a different set of register/bit checks since this is all done within the MAC registers.
Signed-off-by: Carolyn Wyborny carolyn.wyborny@intel.com Tested-by: Aaron Brown aaron.f.brown@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirsher@intel.com
commit 3860a0bf748bf98a30f2bab73d5e3653583f7b47 Author: Carolyn Wyborny carolyn.wyborny@intel.com Date: Thu Nov 22 02:49:22 2012 +0000
igb: Unset sigdetect for SERDES loopback on 82580 and i350
This patch unsets the sigdetect bit for SERDES loopback tests on 82580 and i350 parts. The loopback test can fail on these parts without this setting.
Signed-off-by: Carolyn Wyborny carolyn.wyborny@intel.com Tested-by: Aaron Brown aaron.f.brown@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirsher@intel.com
commit a0483e2eb63d3b2f14a821edb21b3e610bfba5bd Author: Carolyn Wyborny carolyn.wyborny@intel.com Date: Thu Nov 22 01:24:08 2012 +0000
igb: Workaround for global device reset problem on 82580.
Due to a hw errata, the global device reset doesn't always work on 82580 devices. This patch works around the problem not trying to do a global device reset on these devices.
Signed-off-by: Carolyn Wyborny carolyn.wyborny@intel.com Tested-by: Aaron Brown aaron.f.brown@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirsher@intel.com
commit 7916a53d203f12461095886cf72d58e9281240d9 Author: Carolyn Wyborny carolyn.wyborny@intel.com Date: Wed Nov 21 04:44:10 2012 +0000
igb: Refactoring of i210 file.
This patch refactors the functions in e1000_i210.c in order to remove need for prototypes.
Signed-off-by: Carolyn Wyborny carolyn.wyborny@intel.com Tested-by: Aaron Brown aaron.f.brown@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirsher@intel.com
commit 23e0f1488f193d53d282404c1ab50112cb237341 Author: Akeem G. Abodunrin akeem.g.abodunrin@intel.com Date: Sat Nov 3 03:08:41 2012 +0000
igb: Acquire, release semaphore for writing each EEPROM page
This patch allows software acquires and releases NVM resource for writing each EEPROM page, instead of holding semaphore for the whole data block which is too long and could trigger write fails on unpredictable addresses.
Signed-off-by: Akeem G Abodunrin akeem.g.abodunrin@intel.com Tested-by: Jeff Pieper jeffrey.e.pieper@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirsher@intel.com
commit 1720ee3e4054eff175743820ceba16ecfe97943a Author: Carolyn Wyborny carolyn.wyborny@intel.com Date: Thu Oct 11 02:15:45 2012 +0000
igb: Updates to read nvm function for i211 device
The i211 has an integrated secure space to store configuration information that is usually stored in an EEPROM or flash type device. This patch updates the read functions to return values or appropriate error codes to prevent unnecessary init failures on some configuration schemes.
Signed-off-by: Carolyn Wyborny carolyn.wyborny@intel.com Tested-by: Jeff Pieper jeffrey.e.pieper@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirsher@intel.com
commit 3288d735781f8873775e5d2e5d33507119f79cca Author: joshua.a.hay@intel.com joshua.a.hay@intel.com Date: Wed Nov 28 05:49:20 2012 +0000
ixgbe: eliminate Smatch warnings in ixgbe_debugfs.c
This patch replaces calls to copy_to_user, copy_from_user, and the associated logic, with calls to simple_read_from_buffer and simple_write_to_buffer respectively. This was done to eliminate warnings generated by the Smatch static analysis tool.
v2- Fix return values based community feedback
Reported-by: Dan Carpenter dan.carpenter@oracle.com CC: Dan Carpenter dan.carpenter@oracle.com Signed-off-by: Josh Hay joshua.a.hay@intel.com Tested-by: Phil Schmitt phillip.j.schmitt@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirsher@intel.com
commit b9cc977d9d4d1866ee83df38815f4b3b34d99dd9 Author: Ben Hutchings bhutchings@solarflare.com Date: Wed Nov 28 04:12:41 2012 +0000
sfc: Make module parameters really boolean
Most of the module parameters treated as boolean are currently exposed as type int or uint. Defining them with the proper type is useful documentation for both users and developers.
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit ebf98e797b4e26ad52ace1511a0b503ee60a6cd4 Author: Ben Hutchings bhutchings@solarflare.com Date: Sat Dec 1 02:21:17 2012 +0000
sfc: Fix timekeeping in efx_mcdi_poll()
efx_mcdi_poll() uses get_seconds() to read the current time and to implement a polling timeout. The use of this function was chosen partly because it could easily be replaced in a co-sim environment with a macro that read the simulated time.
Unfortunately the real get_seconds() returns the system time (real time) which is subject to adjustment by e.g. ntpd. If the system time is adjusted forward during a polled MCDI operation, the effective timeout can be shorter than the intended 10 seconds, resulting in a spurious failure. It is also possible for a backward adjustment to delay detection of a areal failure.
Use jiffies instead, and change MCDI_RPC_TIMEOUT to be denominated in jiffies. Also correct rounding of the timeout: check time > finish (or rather time_after(time, finish)) and not time >= finish.
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit c2f3b8e3a44b6fe9e36704e30157ebe1a88c08b1 Author: Daniel Pieczko dpieczko@solarflare.com Date: Wed Oct 17 13:21:23 2012 +0100
sfc: lock TX queues when calling netif_device_detach()
The assertion of netif_device_present() at the top of efx_hard_start_xmit() may fail if we don't do this.
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit 525d9e824018cd7cc8d8d44832ddcd363abfe6e1 Author: Daniel Pieczko dpieczko@solarflare.com Date: Tue Oct 2 13:36:18 2012 +0100
sfc: Work-around flush timeout when flushes have completed
We sometimes hit a "failed to flush" timeout on some TX queues, but the flushes have completed and the flush completion events seem to go missing. In this case, we can check the TX_DESC_PTR_TBL register and drain the queues if the flushes had finished.
[bwh: Minor fixes to coding style] Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit 876be083b669c43203c0ee8709d749896e1d8d60 Author: Ben Hutchings bhutchings@solarflare.com Date: Mon Oct 1 20:58:35 2012 +0100
sfc: Reset driver's MAC stats after MC reboot seen
If the MC reboots then the stats it reports to us will have been reset. We need to reset ours to get efx_update_diff_stat() working properly.
(Ideally we would maintain stats across the reboot, but as this should only happen immediately after a firmware upgrade it's not really worth the trouble.)
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit c3771a35bebeea16c4fd94d1116010cc02b1f75e Author: Ben Hutchings bhutchings@solarflare.com Date: Wed Sep 19 00:31:18 2012 +0100
sfc: Do not initialise buffer in efx_alloc_special_buffer()
Currently we initialise the newly allocated buffer to all-1s, which is important for event queues but not for descriptor queues. And since we also do that in efx_nic_init_eventq(), it is completely pointless to do it here.
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit ef492f11efed9a6a1686bf914fb74468df59385c Author: Ben Hutchings bhutchings@solarflare.com Date: Sat Dec 1 01:55:27 2012 +0000
sfc: Correctly initialise reset_method in siena_test_chip()
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit 778cdaf639e34288c298f1d3d3503d0724ceabc7 Author: Ben Hutchings bhutchings@solarflare.com Date: Tue Sep 18 01:56:50 2012 +0100
sfc: Remove confusing MMIO functions
efx_writed_table() uses a step of 16 bytes but efx_readd_table() uses a step of 4 bytes. Why are they different?
Firstly, register access is asymmetric:
- The EVQ_RPTR table and RX_INDIRECTION_TBL can (or must?) be written as dwords even though they have a step size of 16 bytes, unlike most other CSRs. - In general, a read of any width is valid for registers, so long as it does not cross register boundaries. There is also no latching behaviour in the BIU, contrary to rumour.
We write to the EVQ_RPTR table with efx_writed_table() but never read it back as it's write-only. We write to the RX_INDIRECTION_TBL with efx_writed_table(), but only read it back for the register dump, where we use efx_reado_table() as for any other table with step size of 16.
We read MC_TREG_SMEM with efx_readd_table() for the register dump, but normally read and write it with efx_readd() and efx_writed() using offsets calculated in bytes.
Since these functions are trivial and have few callers, it's clearer to open-code them at the call sites. While we're at it, update the comments on the BIU behaviour again.
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit bbec969b7f57a6ab5683145b99da869f99080e2a Author: Ben Hutchings bhutchings@solarflare.com Date: Tue Sep 11 18:25:13 2012 +0100
sfc: Fix check for failure of MC_CMD_FLUSH_RX_QUEUES
efx_mcdi_rpc_start() returns a negative value on error or zero on success. However one caller that can't properly handle failure then does WARN_ON(rc > 0). Change it to WARN_ON(rc < 0).
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit b8e0251730775cc970d2453dedd454b8ae071dd9 Author: Ben Hutchings bhutchings@solarflare.com Date: Thu Sep 6 23:54:15 2012 +0100
sfc: Delete redundant page_addr variable from efx_init_rx_buffers_page()
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit d5e8cc6c946e0857826dcfbb3585068858445bfe Author: Ben Hutchings bhutchings@solarflare.com Date: Thu Sep 6 16:52:31 2012 +0100
sfc: Really disable flow control while flushing
Receiving pause frames can block TX queue flushes. Earlier changes work around this by reconfiguring the MAC during flushes for VFs, but during flushes for the PF we would only change the fc_disable counter. Unless the MAC is reconfigured for some other reason during the flush (which I would not expect to happen) this had no effect at all.
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit 3f978ef36cca9bb10c88a56baec1d9d1cb072b98 Author: Ben Hutchings bhutchings@solarflare.com Date: Thu Sep 6 02:11:06 2012 +0100
sfc: Fix byte order warning in self-test
Add necessary cast when setting a bogus checksum.
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit 0e0c3408a5414d4e1f8ca7fadcb513c13bd747e8 Author: Ben Hutchings bhutchings@solarflare.com Date: Thu Sep 6 02:11:04 2012 +0100
sfc: Fix byte order warnings for ethtool RX filter interface
sparse has got a bit more picky since I last ran it over this. Add forced casts for use of ~0 as a big-endian value. Undo the pointless optimisation of parameter validation with '|'; using '||' avoids these warnings.
Signed-off-by: Ben Hutchings bhutchings@solarflare.com
commit ce43b03e8889475817d427b1f3724c7e294b76eb Author: Eric Dumazet edumazet@google.com Date: Fri Nov 30 09:49:27 2012 +0000
net: move inet_dport/inet_num in sock_common
commit 68835aba4d9b (net: optimize INET input path further) moved some fields used for tcp/udp sockets lookup in the first cache line of struct sock_common.
This patch moves inet_dport/inet_num as well, filling a 32bit hole on 64 bit arches and reducing number of cache line misses in lookups.
Also change INET_MATCH()/INET_TW_MATCH() to perform the ports match before addresses match, as this check is more discriminant.
Remove the hash check from MATCH() macros because we dont need to re validate the hash value after taking a refcount on socket, and use likely/unlikely compiler hints, as the sk_hash/hash check makes the following conditional tests 100% predicted by cpu.
Introduce skc_addrpair/skc_portpair pair values to better document the alignment requirements of the port/addr pairs used in the various MATCH() macros, and remove some casts.
The namespace check can also be done at last.
This slightly improves TCP/UDP lookup times.
IP/TCP early demux needs inet->rx_dst_ifindex and TCP needs inet->min_ttl, lets group them together in same cache line.
With help from Ben Hutchings & Joe Perches.
Idea of this patch came after Ling Ma proposal to move skc_hash to the beginning of struct sock_common, and should allow him to submit a final version of his patch. My tests show an improvement doing so.
Signed-off-by: Eric Dumazet edumazet@google.com Cc: Ben Hutchings bhutchings@solarflare.com Cc: Joe Perches joe@perches.com Cc: Ling Ma ling.ma.program@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit b02a80674ea3905926c1a942426008d732c47339 Author: Haiyang Zhang haiyangz@microsoft.com Date: Fri Nov 30 09:23:41 2012 +0000
hyperv: Add an error message to rndis_filter_set_device_mac()
This message indicates an error returned from the host when changing MAC address.
Reported-by: Michal Kubecek mkubecek@suse.com Signed-off-by: Haiyang Zhang haiyangz@microsoft.com Reviewed-by: K. Y. Srinivasan kys@microsoft.com Signed-off-by: David S. Miller davem@davemloft.net
commit 1b4c44e6369dbbafd113f1e00b406f1eda5ab5b2 Author: Andrew Gallatin gallatin@myri.com Date: Fri Nov 30 08:31:59 2012 +0000
myri10ge: Add vlan rx for better GRO perf.
Unlike LRO, GRO requires that vlan tags be removed before aggregation can occur. Since the myri10ge NIC does not support hardware vlan tag offload, we must remove the tag in the driver to achieve performance comparable to LRO for vlan tagged frames.
Thanks to Eric Duzamet for his help simplifying the original patch.
Signed-off-by: Andrew Gallatin gallatin@myri.com Signed-off-by: David S. Miller davem@davemloft.net
commit 4ca3221fe4b6c4c6c77352672942e8afa57d55e5 Author: Andrew Gallatin gallatin@myri.com Date: Fri Nov 30 08:31:58 2012 +0000
myri10ge: Convert from LRO to GRO
Convert myri10ge from LRO to GRO, and simplify the driver by removing various LRO-related code which is no longer needed including ndo_fix_features op, custom skb building from frags, and LRO header parsing.
Signed-off-by: Andrew Gallatin gallatin@myri.com Signed-off-by: David S. Miller davem@davemloft.net
commit ba57b6f20429028127618230b74d55e8eb9cfce3 Author: Jiri Slaby jslaby@suse.cz Date: Fri Nov 30 07:05:40 2012 +0000
MAINTAINERS: fix bouncing tun/tap entries
Delivery to the following recipient failed permanently:
vtun@office.satix.net
Technical details of permanent failure: DNS Error: Domain name not found
Of course: $ host office.satix.net Host office.satix.net not found: 3(NXDOMAIN)
===========
And "Change of Email Address Notification": Old Address New Address Email Subject ------------------------------------------------------ maxk@qualcomm.com maxk@qti.qualcomm.com "tuntap: multiqueue...
Signed-off-by: Jiri Slaby jslaby@suse.cz Cc: Maxim Krasnyansky maxk@qti.qualcomm.com Signed-off-by: David S. Miller davem@davemloft.net
commit b052e0737593c2a9c9b5f984e19e99f45435ef75 Author: Steve Glendinning steve.glendinning@shawell.net Date: Fri Nov 30 05:55:52 2012 +0000
smsc95xx: expand check_ macros
These macros, while reducing the amount of code, hide flow control and make the code more confusing to follow and review. This patch expands them. It should have no functional effect on the driver.
Signed-off-by: Steve Glendinning steve.glendinning@shawell.net Signed-off-by: David S. Miller davem@davemloft.net
commit 068bb1a75a94eacfaaacf3b0ecf4feb349fa8e13 Author: Steve Glendinning steve.glendinning@shawell.net Date: Fri Nov 30 05:55:51 2012 +0000
smsc95xx: fix smsc_crc return type
This patch fixes a bug introduced in bbd9f9e which could prevent some wakeups from working correctly if multiple wol options were selected.
This helper function calculates a 16-bit crc and shifts it into either the high or low 16 bits of a u32 so the caller can or it directly into place. The function previously had a u16 return type so would always have returned zero when filter was odd.
Signed-off-by: Steve Glendinning steve.glendinning@shawell.net Reported-by: Bjorn Mork bjorn@mork.no Cc: Joe Perches joe@perches.com Signed-off-by: David S. Miller davem@davemloft.net
commit 3b14692c01e0b68f0ce51138dfcea967a63cd7bb Author: Steve Glendinning steve.glendinning@shawell.net Date: Fri Nov 30 05:55:50 2012 +0000
smsc95xx: don't enable remote wakeup directly
As pointed out by Bjorn Mork, the generic "usb" driver sets this for us so no need to directly set it in this driver.
Signed-off-by: Steve Glendinning steve.glendinning@shawell.net Cc: Bjorn Mork bjorn@mork.no Signed-off-by: David S. Miller davem@davemloft.net
commit 3b9f7d8cdb6db2b6ba78c149dacec3d72591c544 Author: Steve Glendinning steve.glendinning@shawell.net Date: Fri Nov 30 05:55:49 2012 +0000
smsc95xx: fix error handling in suspend failure case
This patch ensures that if we fail to suspend the LAN9500 device we call usbnet_resume before returning failure, instead of leaving the usbnet driver in an unusable state.
Signed-off-by: Steve Glendinning steve.glendinning@shawell.net Signed-off-by: David S. Miller davem@davemloft.net
commit eed9a72914a2b2737a0d91b80579f878999574ef Author: Steve Glendinning steve.glendinning@shawell.net Date: Fri Nov 30 05:55:48 2012 +0000
smsc95xx: fix suspend buffer overflow
This patch fixes a buffer overflow introduced by bbd9f9e, where the filter_mask array is accessed beyond its bounds.
Updated to also add a check for kzalloc failure, as reported by Bjorn Mork and Joe Perches.
Reported-by: Dan Carpenter dan.carpenter@oracle.com Signed-off-by: Steve Glendinning steve.glendinning@shawell.net Cc: Bjorn Mork bjorn@mork.no Cc: Joe Perches joe@perches.com Signed-off-by: David S. Miller davem@davemloft.net
commit e3c678e6d7484dc03fc36d3bfebb8ebb94574110 Author: Steve Glendinning steve.glendinning@shawell.net Date: Fri Nov 30 04:52:44 2012 +0000
smsc75xx: expand check_ macros
These macros, while reducing the amount of code, hide flow control and make the code more confusing to follow and review. This patch expands them. It should have no functional effect on the driver.
Signed-off-by: Steve Glendinning steve.glendinning@shawell.net Signed-off-by: David S. Miller davem@davemloft.net
commit 2305c54ffc389f1e73f2b1122a4c75bb0e8e6601 Author: Steve Glendinning steve.glendinning@shawell.net Date: Fri Nov 30 04:52:43 2012 +0000
smsc75xx: don't call usbnet_resume if usbnet_suspend fails
If usbnet_suspend returns an error we don't want to call usbnet_resume to clean up, but instead just return the error.
If usbnet_suspend *does* succeed, and we have a problem further on, the desired behaviour is still to call usbnet_resume to clean up before returning.
Signed-off-by: Steve Glendinning steve.glendinning@shawell.net Signed-off-by: David S. Miller davem@davemloft.net
commit 06a31e2b918dd992dd104e082ec8a33d6235c7b3 Author: Thomas Graf tgraf@suug.ch Date: Fri Nov 30 02:16:27 2012 +0000
sctp: verify length provided in heartbeat information parameter
If the variable parameter length provided in the mandatory heartbeat information parameter exceeds the calculated payload length the packet has been corrupted. Reply with a parameter length protocol violation message.
Signed-off-by: Thomas Graf tgraf@suug.ch Acked-by: Neil Horman nhorman@tuxdriver.com Signed-off-by: David S. Miller davem@davemloft.net
commit c07135633bee3f01a6454d15b6411f32cfbeb2fd Author: Rami Rosen ramirose@gmail.com Date: Fri Nov 30 01:08:47 2012 +0000
rtnelink: remove unused parameter from rtnl_create_link().
This patch removes an unused parameter (src_net) from rtnl_create_link() method and from the method single invocation, in veth. This parameter was used in the past when calling ops->get_tx_queues(src_net, tb) in rtnl_create_link(). The get_tx_queues() member of rtnl_link_ops was replaced by two methods, get_num_tx_queues() and get_num_rx_queues(), which do not get any parameter. This was done in commit d40156aa5ecbd51fed932ed4813df82b56e5ff4d by Jiri Pirko ("rtnl: allow to specify different num for rx and tx queue count").
Signed-off-by: Rami Rosen ramirose@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit dad52fd964c54aa275ebb5c935ef8d8b0eded74d Merge: ee3f34e af5d4f7 Author: David S. Miller davem@davemloft.net Date: Fri Nov 30 12:22:04 2012 -0500
Merge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge
Included changes: - Use the new ETH_P_BATMAN define instead of the private BATADV_ETH_P_BATMAN
Signed-off-by: David S. Miller davem@davemloft.net
commit ee3f34e857238a4552c68d860348893d7728bcab Author: Tommi Rantala tt.rantala@gmail.com Date: Thu Nov 29 23:17:42 2012 +0000
sctp: fix CONFIG_SCTP_DBG_MSG=y null pointer dereference in sctp_v6_get_dst()
Trinity (the syscall fuzzer) triggered the following BUG, reproducible only when the kernel is configured with CONFIG_SCTP_DBG_MSG=y.
When CONFIG_SCTP_DBG_MSG is not set, the null pointer is never dereferenced.
---[ end trace a4de0bfcb38a3642 ]--- BUG: unable to handle kernel NULL pointer dereference at 0000000000000100 IP: [<ffffffff8136796e>] ip6_string+0x1e/0xa0 PGD 4eead067 PUD 4e472067 PMD 0 Oops: 0000 [#1] PREEMPT SMP Modules linked in: CPU 3 Pid: 21324, comm: trinity-child11 Tainted: G W 3.7.0-rc7+ #61 ASUSTeK Computer INC. EB1012/EB1012 RIP: 0010:[<ffffffff8136796e>] [<ffffffff8136796e>] ip6_string+0x1e/0xa0 RSP: 0018:ffff88004e4637a0 EFLAGS: 00010046 RAX: ffff88004e4637da RBX: ffff88004e4637da RCX: 0000000000000000 RDX: ffffffff8246e92a RSI: 0000000000000100 RDI: ffff88004e4637da RBP: ffff88004e4637a8 R08: 000000000000ffff R09: 000000000000ffff R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8289d600 R13: ffffffff8289d230 R14: ffffffff8246e928 R15: ffffffff8289d600 FS: 00007fed95153700(0000) GS:ffff88005fd80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000100 CR3: 000000004eeac000 CR4: 00000000000007e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process trinity-child11 (pid: 21324, threadinfo ffff88004e462000, task ffff8800524b0000) Stack: ffff88004e4637da ffff88004e463828 ffffffff81368eee 000000004e4637d8 ffffffff0000ffff ffff88000000ffff 0000000000000000 000000004e4637f8 ffffffff826285d8 ffff88004e4637f8 0000000000000000 ffff8800524b06b0 Call Trace: [<ffffffff81368eee>] ip6_addr_string.isra.11+0x3e/0xa0 [<ffffffff81369183>] pointer.isra.12+0x233/0x2d0 [<ffffffff810a413a>] ? vprintk_emit+0x1ba/0x450 [<ffffffff8110953d>] ? trace_hardirqs_on_caller+0x10d/0x1a0 [<ffffffff81369757>] vsnprintf+0x187/0x5d0 [<ffffffff81369c62>] vscnprintf+0x12/0x30 [<ffffffff810a4028>] vprintk_emit+0xa8/0x450 [<ffffffff81e5cb00>] printk+0x49/0x4b [<ffffffff81d17221>] sctp_v6_get_dst+0x731/0x780 [<ffffffff81d16e15>] ? sctp_v6_get_dst+0x325/0x780 [<ffffffff81d00a96>] sctp_transport_route+0x46/0x120 [<ffffffff81cff0f1>] sctp_assoc_add_peer+0x161/0x350 [<ffffffff81d0fd8d>] sctp_sendmsg+0x6cd/0xcb0 [<ffffffff81b55bf0>] ? inet_create+0x670/0x670 [<ffffffff81b55cfb>] inet_sendmsg+0x10b/0x220 [<ffffffff81b55bf0>] ? inet_create+0x670/0x670 [<ffffffff81a72a64>] ? sock_update_classid+0xa4/0x2b0 [<ffffffff81a72ab0>] ? sock_update_classid+0xf0/0x2b0 [<ffffffff81a6ac1c>] sock_sendmsg+0xdc/0xf0 [<ffffffff8118e9e5>] ? might_fault+0x85/0x90 [<ffffffff8118e99c>] ? might_fault+0x3c/0x90 [<ffffffff81a6e12a>] sys_sendto+0xfa/0x130 [<ffffffff810a9887>] ? do_setitimer+0x197/0x380 [<ffffffff81e960d5>] ? sysret_check+0x22/0x5d [<ffffffff81e960a9>] system_call_fastpath+0x16/0x1b Code: 01 eb 89 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 f8 31 c9 48 89 e5 53 eb 12 0f 1f 40 00 48 83 c1 01 48 83 c0 04 48 83 f9 08 74 70 <0f> b6 3c 4e 89 fb 83 e7 0f c0 eb 04 41 89 d8 41 83 e0 0f 0f b6 RIP [<ffffffff8136796e>] ip6_string+0x1e/0xa0 RSP <ffff88004e4637a0> CR2: 0000000000000100 ---[ end trace a4de0bfcb38a3643 ]---
Signed-off-by: Tommi Rantala tt.rantala@gmail.com Acked-by: Vlad Yasevich vyasevich@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
commit 92a2ec72a7dbb84f4b614c9b72880d86db69475f Author: Alan Ott alan@signal11.us Date: Thu Nov 29 18:25:11 2012 +0000
mac802154: use kfree_skb() instead of dev_kfree_skb()
kfree_skb() indicates failure, which is where this is being used.
Signed-off-by: Alan Ott alan@signal11.us Signed-off-by: David S. Miller davem@davemloft.net
commit fcefbe9fcb3b0d72c91629f7fcf7ea09a46ab2c1 Author: Alan Ott alan@signal11.us Date: Thu Nov 29 18:25:10 2012 +0000
mac802154: fix memory leaks
kfree_skb() was not getting called in the case of some failures. This was pointed out by Eric Dumazet.
Signed-off-by: Alan Ott alan@signal11.us Signed-off-by: David S. Miller davem@davemloft.net
commit b333b7e6ec210412be49d1dc67b62d4e565a0cd6 Author: Alan Ott alan@signal11.us Date: Thu Nov 29 15:55:44 2012 +0000
6lowpan: consider checksum bytes in fragmentation threshold
Change the threshold for framentation of a lowpan packet from using the MTU size to now use the MTU size minus the checksum length, which is added by the hardware. For IEEE 802.15.4, this effectively changes it from 127 bytes to 125 bytes.
Signed-off-by: Alan Ott alan@signal11.us Signed-off-by: David S. Miller davem@davemloft.net
commit fed2c6fd1ffb7b24e55159eb40a5a7330be656c8 Merge: 481af03 823d7a1 Author: David S. Miller davem@davemloft.net Date: Fri Nov 30 12:12:05 2012 -0500
Merge branch 'for-davem' of git://gitorious.org/linux-can/linux-can-next
Marc Kleine-Budde says:
==================== this pull request is for net-next/master. There is a patch by Alexander Stein fixing a reference counter problem which can make driver unloading impossible (stable Cc'ed). And several patches by me which remove an obsolete mechanism from several drivers, which is already handled at the infrastructure level. ====================
Signed-off-by: David S. Miller davem@davemloft.net
commit 481af03bfbc1e07954310689831ad2695b7c6a44 Author: Akinobu Mita akinobu.mita@gmail.com Date: Thu Nov 29 01:27:45 2012 +0000
mISDN: improve bitops usage
This improves bitops usages in several points:
- Convert u64 to a proper bitmap declaration. This enables to remove superfluous typecasting from 'u64' to 'unsigned long *'.
- Convert superfluous atomic bitops to non atomic bitops. The bitmap is allocated on the stack and it is not accessed by any other threads, so using atomic bitops is not necessary.
- Use find_next_zero_bit and find_next_zero_bit instead of calling test_bit() for each bit.
Signed-off-by: Akinobu Mita akinobu.mita@gmail.com Cc: Karsten Keil isdn@linux-pingi.de Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller davem@davemloft.net
commit 6e22ce2c6e4315522526279365d6e86e8f67a5fa Author: Yi Zou yi.zou@intel.com Date: Wed Nov 28 13:45:24 2012 +0000
8021q: fix vlan device to inherit the unicast filtering capability flag
This bug is observed on running FCoE over a VLAN device associated w/ a real device that has IFF_UNICAST_FLT set since FCoE would add unicast address such as FLOGI MAC to the VLAN interface that FCoE is on. Since currently, VLAN device is not inheriting the IFF_UNICAST_FLT flag from the parent real device even though the real device is capable of doing unicast filtering. This forces the VLAN device and its real device go to promiscuous mode unnecessarily even the added address is actually being added to the available unicast filter table in real device.
Signed-off-by: Yi Zou yi.zou@intel.com Cc: devel@open-fcoe.org Signed-off-by: David S. Miller davem@davemloft.net
commit e53665c6eaa6da6a4a4130ecc2fe9429c7ad2daf Author: Jiri Bohac jbohac@suse.cz Date: Wed Nov 28 04:42:14 2012 +0000
bonding: delete migrated IP addresses from the rlb hash table
Bonding in balance-alb mode records information from ARP packets passing through the bond in a hash table (rx_hashtbl).
At certain situations (e.g. link change of a slave), rlb_update_rx_clients() will send out ARP packets to update ARP caches of other hosts on the network to achieve RX load balancing.
The problem is that once an IP address is recorded in the hash table, it stays there indefinitely. If this IP address is migrated to a different host in the network, bonding still sends out ARP packets that poison other systems' ARP caches with invalid information.
This patch solves this by looking at all incoming ARP packets, and checking if the source IP address is one of the source addresses stored in the rx_hashtbl. If it is, but the MAC addresses differ, the corresponding hash table entries are removed. Thus, when an IP address is migrated, the first ARP broadcast by its new owner will purge the offending entries of rx_hashtbl.
The hash table is hashed by ip_dst. To be able to do the above check efficiently (not walking the whole hash table), we need a reverse mapping (by ip_src).
I added three new members in struct rlb_client_info: rx_hashtbl[x].src_first will point to the start of a list of entries for which hash(ip_src) == x. The list is linked with src_next and src_prev.
When an incoming ARP packet arrives at rlb_arp_recv() rlb_purge_src_ip() can quickly walk only the entries on the corresponding lists, i.e. the entries that are likely to contain the offending IP address.
To avoid confusion, I renamed these existing fields of struct rlb_client_info: next -> used_next prev -> used_prev rx_hashtbl_head -> rx_hashtbl_used_head
(The current linked list is _not_ a list of hash table entries with colliding ip_dst. It's a list of entries that are being used; its purpose is to avoid walking the whole hash table when looking for used entries.)
Signed-off-by: Jiri Bohac jbohac@suse.cz Signed-off-by: Jay Vosburgh fubar@us.ibm.com Signed-off-by: David S. Miller davem@davemloft.net
commit 567b871e503316b0927e54a3d7c86d50b722d955 Author: zheng.li zheng.x.li@oracle.com Date: Tue Nov 27 23:57:04 2012 +0000
bonding: rlb mode of bond should not alter ARP originating via bridge
Do not modify or load balance ARP packets passing through balance-alb mode (wherein the ARP did not originate locally, and arrived via a bridge).
Modifying pass-through ARP replies causes an incorrect MAC address to be placed into the ARP packet, rendering peers unable to communicate with the actual destination from which the ARP reply originated.
Load balancing pass-through ARP requests causes an entry to be created for the peer in the rlb table, and bond_alb_monitor will occasionally issue ARP updates to all peers in the table instrucing them as to which MAC address they should communicate with; this occurs when some event sets rx_ntt. In the bridged case, however, the MAC address used for the update would be the MAC of the slave, not the actual source MAC of the originating destination. This would render peers unable to communicate with the destinations beyond the bridge.
Signed-off-by: Zheng Li zheng.x.li@oracle.com Cc: Jay Vosburgh fubar@us.ibm.com Cc: Andy Gospodarek andy@greyhouse.net Cc: "David S. Miller" davem@davemloft.net Signed-off-by: Jay Vosburgh fubar@us.ibm.com Signed-off-by: David S. Miller davem@davemloft.net
commit e7165030db8e932a9a968f7015cd3b2e984f8e7c Merge: bb72882 92eb1d4 Author: David S. Miller davem@davemloft.net Date: Fri Nov 30 12:01:30 2012 -0500
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/openvswitch
Conflicts: net/ipv6/exthdrs_core.c
Jesse Gross says:
==================== This series of improvements for 3.8/net-next contains four components: * Support for modifying IPv6 headers * Support for matching and setting skb->mark for better integration with things like iptables * Ability to recognize the EtherType for RARP packets * Two small performance enhancements
The movement of ipv6_find_hdr() into exthdrs_core.c causes two small merge conflicts. I left it as is but can do the merge if you want. The conflicts are: * ipv6_find_hdr() and ipv6_find_tlv() were both moved to the bottom of exthdrs_core.c. Both should stay. * A new use of ipv6_find_hdr() was added to net/netfilter/ipvs/ip_vs_core.c after this patch. The IPVS user has two instances of the old constant name IP6T_FH_F_FRAG which has been renamed to IP6_FH_F_FRAG. ====================
Signed-off-by: David S. Miller davem@davemloft.net
commit 397ff16dce53888ec693b3718640be2560204751 Author: Krzysztof Mazur krzysiek@podlesie.net Date: Tue Nov 6 23:17:02 2012 +0100
pppoatm: do not inline pppoatm_may_send()
The pppoatm_may_send() is quite heavy and it's called three times in pppoatm_send() and inlining costs more than 200 bytes of code (more than 10% of total pppoatm driver code size).
add/remove: 1/0 grow/shrink: 0/1 up/down: 132/-367 (-235) function old new delta pppoatm_may_send - 132 +132 pppoatm_send 900 533 -367
Signed-off-by: Krzysztof Mazur krzysiek@podlesie.net Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit 071d93931a75dc1f82f0baa9959613af81c5a032 Author: Krzysztof Mazur krzysiek@podlesie.net Date: Sat Nov 10 23:33:19 2012 +0100
pppoatm: drop frames to not-ready vcc
The vcc_destroy_socket() closes vcc before the protocol is detached from vcc by calling vcc->push() with NULL skb. This leaves some time window, where the protocol may call vcc->send() on closed vcc and crash.
Now pppoatm_send(), like vcc_sendmsg(), checks for vcc flags that indicate that vcc is not ready. If the vcc is not ready we just drop frame. Queueing frames is much more complicated because we don't have callbacks that inform us about vcc flags changes.
Signed-off-by: Krzysztof Mazur krzysiek@podlesie.net Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit 823d7a1f761d6404babaab04cc8b1724186cf2c8 Author: Marc Kleine-Budde mkl@pengutronix.de Date: Fri Jul 20 22:30:40 2012 +0200
can: pcan_usb_core: remove obsolete variable open_time
The variable open_time in the struct peak_usb_device was used to protect peak_usb_set_mode() only to be called, if the interface is up. Now the CAN device infrastructure takes care of this.
Signed-off-by: Marc Kleine-Budde mkl@pengutronix.de
commit e42870465025ac6c9f3dc45f45a69d3da2d85308 Author: Marc Kleine-Budde mkl@pengutronix.de Date: Fri Jul 20 22:30:40 2012 +0200
can: esd_usb2: remove obsolete variable open_time
The variable open_time in the struct esd_usb2_net_priv was used to protect esd_usb2_set_mode() only to be called, if the interface is up. Now the CAN device infrastructure takes care of this.
Signed-off-by: Marc Kleine-Budde mkl@pengutronix.de
commit 4480c008047d72a7d40e1e7fdc1d3b420ebcb955 Author: Marc Kleine-Budde mkl@pengutronix.de Date: Fri Jul 20 22:30:40 2012 +0200
can: ems_usb: remove obsolete variable open_time
The variable open_time in the struct ems_usb was used to protect ems_usb_set_mode() only to be called, if the interface is up. Now the CAN device infrastructure takes care of this.
Signed-off-by: Marc Kleine-Budde mkl@pengutronix.de
commit b2d0bf711f94969394a9c4a2f8923c286803cd34 Author: Marc Kleine-Budde mkl@pengutronix.de Date: Fri Jul 20 22:30:40 2012 +0200
can: sja1000: remove obsolete variable open_time
The variable open_time in the struct sja1000_priv was used to protect sja1000_set_mode() only to be called, if the interface is up. Now the CAN device infrastructure takes care of this.
Signed-off-by: Marc Kleine-Budde mkl@pengutronix.de
commit 49ed59b72cb03116682dd6ab5c04117cc710bff3 Author: Marc Kleine-Budde mkl@pengutronix.de Date: Fri Jul 20 22:30:40 2012 +0200
can: mscan: remove obsolete variable open_time
The variable open_time in the struct mscan_priv was used to protect mscan_do_set_mode() only to be called, if the interface is up. Now the CAN device infrastructure takes care of this.
Signed-off-by: Marc Kleine-Budde mkl@pengutronix.de
commit ab48b03ec9ae1840a1e427e2375bd0d9d554b4ed Author: Alexander Stein alexander.stein@systec-electronic.com Date: Tue Nov 27 08:52:34 2012 +0100
can: Do not call dev_put if restart timer is running upon close
If the restart timer is running due to BUS-OFF and the device is disconnected an dev_put will decrease the usage counter to -1 thus blocking the interface removal, resulting in the following dmesg lines repeating every 10s: can: notifier: receive list not found for dev can0 can: notifier: receive list not found for dev can0 can: notifier: receive list not found for dev can0 unregister_netdevice: waiting for can0 to become free. Usage count = -1
Cc: linux-stable stable@vger.kernel.org Signed-off-by: Alexander Stein alexander.stein@systec-electronic.com Signed-off-by: Marc Kleine-Budde mkl@pengutronix.de
commit 92eb1d477145b2e7780b5002e856f70b8c3d74da Author: Jesse Gross jesse@nicira.com Date: Wed Nov 28 14:01:52 2012 -0800
openvswitch: Use RCU callback when detaching netdevices.
Currently, each time a device is detached from an OVS datapath we call synchronize RCU before freeing associated data structures. However, if a bridge is deleted (which detaches all ports) when many devices are connected then there can be a long delay. This switches to use call_rcu() to group the cost together.
Reported-by: Justin Pettit jpettit@nicira.com Signed-off-by: Jesse Gross jesse@nicira.com
commit 3ac108006fd7f20cb8fc8ea2287f1497bcda00a1 Author: Krzysztof Mazur krzysiek@podlesie.net Date: Tue Nov 6 23:17:00 2012 +0100
pppoatm: take ATM socket lock in pppoatm_send()
The pppoatm_send() does not take any lock that will prevent concurrent vcc_sendmsg(). This causes two problems:
- there is no locking between checking the send queue size with atm_may_send() and incrementing sk_wmem_alloc, and the real queue size can be a little higher than sk_sndbuf
- the vcc->sendmsg() can be called concurrently. I'm not sure if it's allowed. Some drivers (eni, nicstar, ...) seem to assume it will never happen.
Now pppoatm_send() takes ATM socket lock, the same that is used in vcc_sendmsg() and other ATM socket functions. The pppoatm_send() is called with BH disabled, so bh_lock_sock() is used instead of lock_sock().
Signed-off-by: Krzysztof Mazur krzysiek@podlesie.net Cc: Chas Williams - CONTRACTOR chas@cmf.nrl.navy.mil Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit e41faed9cde1acce657f75a0b19a1787e9850d3f Author: Krzysztof Mazur krzysiek@podlesie.net Date: Tue Nov 6 23:16:59 2012 +0100
pppoatm: fix module_put() race
The pppoatm used module_put() during unassignment from vcc with hope that we have BKL. This assumption is no longer true.
Now owner field in atmvcc is used to move this module_put() to vcc_destroy_socket().
Signed-off-by: Krzysztof Mazur krzysiek@podlesie.net Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit 3b1a914595f3f9beb9e38ff3ddc7bdafa092ba22 Author: Krzysztof Mazur krzysiek@podlesie.net Date: Tue Nov 6 23:16:58 2012 +0100
pppoatm: allow assign only on a connected socket
The pppoatm does not check if used vcc is in connected state, causing an Oops in pppoatm_send() when vcc->send() is called on not fully connected socket.
Now pppoatm can be assigned only on connected sockets; otherwise -EINVAL error is returned.
Signed-off-by: Krzysztof Mazur krzysiek@podlesie.net Cc: Chas Williams - CONTRACTOR chas@cmf.nrl.navy.mil Signed-off-by: David Woodhouse David.Woodhouse@intel.com
commit ec809bd817dfa1905283468e4c813684ed4efe78 Author: Krzysztof Mazur krzysiek@podlesie.net Date: Tue Nov 6 23:16:57 2012 +0100
atm: add owner of push() callback to atmvcc
The atm is using atmvcc->push(vcc, NULL) callback to notify protocol that vcc will be closed and protocol must detach from it. This callback is usually used by protocol to decrement module usage count by module_put(), but it leaves small window then module is still used after module_put().
Now the owner of push() callback is kept in atmvcc and module_put(atmvcc->owner) is called after the protocol is detached from vcc.
Signed-off-by: Krzysztof Mazur krzysiek@podlesie.net Signed-off-by: David Woodhouse David.Woodhouse@intel.com Acked-by: Chas Williams chas@cmf.nrl.navy.mil
commit 39c7caebc94e851f58b84b54659156dd30522e8e Author: Ansis Atteka aatteka@nicira.com Date: Mon Nov 26 11:24:11 2012 -0800
openvswitch: add skb mark matching and set action
This patch adds support for skb mark matching and set action.
Signed-off-by: Ansis Atteka aatteka@nicira.com Signed-off-by: Jesse Gross jesse@nicira.com
commit 404f2f1019c0293bd91dc1c03c8557ec97d9d104 Author: Shan Wei davidshan@tencent.com Date: Tue Nov 13 09:52:25 2012 +0800
net: openvswitch: use this_cpu_ptr per-cpu helper
just use more faster this_cpu_ptr instead of per_cpu_ptr(p, smp_processor_id());
Signed-off-by: Shan Wei davidshan@tencent.com Reviewed-by: Christoph Lameter cl@linux.com Signed-off-by: Jesse Gross jesse@nicira.com
commit 3fdbd1ce11e5c0d7cafbe44c942c5cad61113d7b Author: Ansis Atteka aatteka@nicira.com Date: Tue Nov 13 15:44:14 2012 -0800
openvswitch: add ipv6 'set' action
This patch adds ipv6 set action functionality. It allows to change traffic class, flow label, hop-limit, ipv6 source and destination address fields.
Signed-off-by: Ansis Atteka aatteka@nicira.com Signed-off-by: Jesse Gross jesse@nicira.com
commit 9195bb8e381d81d5a315f911904cdf0cfcc919b8 Author: Ansis Atteka aatteka@nicira.com Date: Fri Nov 9 17:11:31 2012 -0800
ipv6: improve ipv6_find_hdr() to skip empty routing headers
This patch prepares ipv6_find_hdr() function so that it could be able to skip routing headers, where segements_left is 0. This is required to handle multiple routing header case correctly when changing IPv6 addresses.
Signed-off-by: Ansis Atteka aatteka@nicira.com Signed-off-by: Jesse Gross jesse@nicira.com
commit f8f626754ebeca613cf1af2e6f890cfde0e74d5b Author: Jesse Gross jesse@nicira.com Date: Fri Nov 9 17:05:07 2012 -0800
ipv6: Move ipv6_find_hdr() out of Netfilter code.
Open vSwitch will soon also use ipv6_find_hdr() so this moves it out of Netfilter-specific code into a more common location.
Signed-off-by: Jesse Gross jesse@nicira.com
commit c0618533815d8d92b270f03c11042ea53a8045d2 Author: Mehak Mahajan mmahajan@nicira.com Date: Fri Nov 2 14:14:31 2012 -0700
openvswitch: Process RARP packets with ethertype 0x8035 similar to ARP packets.
With this commit, OVS will match the data in the RARP packets having ethertype 0x8035, in the same way as the data in the ARP packets.
Signed-off-by: Mehak Mahajan mmahajan@nicira.com Signed-off-by: Jesse Gross jesse@nicira.com
-----------------------------------------------------------------------