16 Jul, 2012
3 commits
-
This adjusts the call to dst_ops->update_pmtu() so that we can
transparently handle the fact that, in the future, the dst itself can
be invalidated by the PMTU update (when we have non-host routes cached
in sockets).Signed-off-by: David S. Miller
-
This is the ipv6 version of inet_csk_update_pmtu().
Signed-off-by: David S. Miller
-
This abstracts away the call to dst_ops->update_pmtu() so that we can
transparently handle the fact that, in the future, the dst itself can
be invalidated by the PMTU update (when we have non-host routes cached
in sockets).So we try to rebuild the socket cached route after the method
invocation if necessary.This isn't used by SCTP because it needs to cache dsts per-transport,
and thus will need it's own local version of this helper.Signed-off-by: David S. Miller
14 Jul, 2012
3 commits
-
We start initializing the struct xfrm_dst at the first field
behind the struct dst_enty. This is error prone because it
might leave a new field uninitialized. So start initializing
the struct xfrm_dst right behind the dst_entry.Suggested-by: Eric Dumazet
Signed-off-by: Steffen Klassert
Signed-off-by: David S. Miller -
We start initializing the struct rt6_info at the first field
behind the struct dst_enty. This is error prone because it
might leave a new field uninitialized. So start initializing
the struct rt6_info right behind the dst_entry.Suggested-by: Eric Dumazet
Signed-off-by: Steffen Klassert
Signed-off-by: David S. Miller -
John Linville says:
====================
Several drivers see updates: mwifiex, ath9k, iwlwifi, brcmsmac,
wlcore/wl12xx/wl18xx, and a handful of others. The bcma bus got a
lot of attention from Hauke Mehrtens. The cfg80211 component gets
a flurry of patches for multi-channel support, and the mac80211
component gets the first few VHT (11ac) and 60GHz (11ad) patches.
This also includes the removal of the iwmc3200 drivers, since the
hardware never became available to normal people.Additionally, the NFC subsystem gets a series of updates. According to
Samuel, "Here are the interesting bits:- A better error management for the HCI stack.
- An LLCP "late" binding implementation for a better NFC SAP usage. SAPs are
now reserved only when there's a client for it.
- Support for Sony RC-S360 (a.k.a. PaSoRi) pn533 based dongle. We can read and
write NFC tags and also establish a p2p link with this dongle now.
- A few LLCP fixes."Finally, this includes another pull of the fixes from the wireless
tree in order to resolve some merge issues.
====================Signed-off-by: David S. Miller
13 Jul, 2012
6 commits
-
We only use it to fetch the rule's tclassid, so just store the
tclassid there instead.This also decreases the size of fib_result by a full 8 bytes on
64-bit. On 32-bits it's a wash.Signed-off-by: David S. Miller
-
Socket state LAST_ACK should allow TSQ to send additional frames,
or else we rely on incoming ACKS or timers to send them.Reported-by: Yuchung Cheng
Signed-off-by: Eric Dumazet
Cc: Matt Mathis
Cc: Mahesh Bandewar
Signed-off-by: David S. Miller -
The Apple Thunderbolt ethernet device is already listed in the driver,
but not hooked up in the MODULE_DEVICE_TABLE(). This fixes that and
allows it to work properly.Signed-off-by: Greg Kroah-Hartman
Acked-by: Michael Chan
Signed-off-by: David S. Miller -
This patch is meant to help improve performance by reducing the number of
locked operations required to allocate a frag on x86 and other platforms.
This is accomplished by using atomic_set operations on the page count
instead of calling get_page and put_page. It is based on work originally
provided by Eric Dumazet.In addition it also helps to reduce memory overhead when using TCP. This
is done by recycling the page if the only holder of the frame is the
netdev_alloc_frag call itself. This can occur when skb heads are stolen by
either GRO or TCP and the driver providing the packets is using paged frags
to store all of the data for the packets.Cc: Eric Dumazet
Signed-off-by: Alexander Duyck
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
…wireless-next into for-davem
-
No longer used.
Signed-off-by: David S. Miller
12 Jul, 2012
28 commits
-
Signed-off-by: Padmanabh Ratnakar
Signed-off-by: David S. Miller -
Signed-off-by: Padmanabh Ratnakar
Signed-off-by: David S. Miller -
Signed-off-by: Padmanabh Ratnakar
Signed-off-by: David S. Miller -
After FW download, activate new FW by invoking FW reset.
Recreate rings once new FW is operational.Signed-off-by: Padmanabh Ratnakar
Signed-off-by: David S. Miller -
Invoke only required initialization routines for Lancer.
Remove invocation of unnecessary routines.Signed-off-by: Padmanabh Ratnakar
Signed-off-by: David S. Miller -
Query die temperature stat for Lancer to report it correctly
in ethtool.Signed-off-by: Padmanabh Ratnakar
Signed-off-by: David S. Miller -
Autonegotiation of pause parameters is possible only on some PHYs.
Ability of autoneg of pause parameters is reported by adapter.
Autoneg of pause parameters cannot be changed from driver.
Fix driver to give error when autoneg mode is toggled by user.Signed-off-by: Padmanabh Ratnakar
Signed-off-by: David S. Miller -
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
All handler->err() routines expect that we've done a pskb_may_pull()
test to make sure that IP header length + 8 bytes can be safely
pulled.Reported-by: Hiroaki SHIMODA
Signed-off-by: David S. Miller -
Can be used to match packets against netfilter ip sets created via ipset(8).
skb->sk_iif is used as 'incoming interface', skb->dev is 'outgoing interface'.Since ipset is usually called from netfilter, the ematch
initializes a fake xt_action_param, pulls the ip header into the
linear area and also sets skb->data to the IP header (otherwise
matching Layer 4 set types doesn't work).Tested-by: Mr Dash Four
Signed-off-by: Florian Westphal
Signed-off-by: David S. Miller -
First update the adapter variables with the current speed and
mode before fire the notification. Otherwise, the get_settings()
may provide old values.Signed-off-by: Flavio Leitner
Acked-by: Rajesh Borundia
Signed-off-by: David S. Miller -
6lowpan module starts collecting incomming frames and fragments
right after lowpan_module_init() therefor it will be better to
clean unfinished fragments in lowpan_cleanup_module() function
instead of doing it when link goes down.Changed spinlocks type to prevent deadlock with expired timer event
and removed unused one.Signed-off-by: Alexander Smirnov
Signed-off-by: David S. Miller -
Function lowpan_alloc_new_frame() takes u8 tag as an argument. However,
its only caller, lowpan_process_data() passes down a u16. Hence,
the tag value can get corrupted. This prevent 6lowpan fragment reassembly of a
message when the fragment tag value is over 256.Signed-off-by: Alexander Smirnov
Cc: Tony Cheneau
Signed-off-by: David S. Miller -
Make symbols static to avoid the following warning shown up
by sparse:warning: symbol ... was not declared. Should it be static?
Signed-off-by: Alexander Smirnov
Signed-off-by: David S. Miller -
Use netdev_alloc_skb_ip_align() instead of alloc_skb() to get some
extra headroom in case we need to forward this frame in a tunnel or
something else.Signed-off-by: Alexander Smirnov
Signed-off-by: David S. Miller -
Add method to get the device short 802.15.4 address. This call
needed by ieee802154 layer to satisfy 'iz list' request from
the user space.Signed-off-by: Alexander Smirnov
Signed-off-by: David S. Miller -
Fix LOCKDEP bug message for the irq handler spinlock.
Make the irq processing code more explicit and stable.Signed-off-by: Alexander Smirnov
Signed-off-by: David S. Miller -
Revert the commit 768f7c7c121e80f458a9d013b2e8b169e5dfb1e5 to initialize
spinlock in the more preferable way and make it static to avoid sparse
warning.Signed-off-by: Alexander Smirnov
Signed-off-by: David S. Miller -
"retval" has to be a signed integer for the error handling to work.
Signed-off-by: Dan Carpenter
Signed-off-by: David S. Miller -
A number of older ColdFire CPU based boards use NS8390 based network
controllers. Most use the Davicom 9008F or the UMC 9008F. This driver
provides the support code to get these devices working on these platforms.Generally the NS8390 based eth device is direct connected via the general
purpose bus of the ColdFire CPU. So its addressing and interrupt setup is
fixed on each of the different platforms (classic platform setup).This driver is based on the other drivers/net/ethernet/8390 drivers, and
includes the lib8390.c code. It uses the existing definitions of the
board NS8390 device addresses, interrupts and access types from the
arch/m68k/include/asm/mcf8390.h, but moves the IO access functions into
the driver code and out of that header.Signed-off-by: Greg Ungerer
Signed-off-by: David S. Miller -
The mcfne.h include contains definitions to support NS8390 eth based hardware
on ColdFire based CPU boards. So change its name to reflect that better.Signed-off-by: Greg Ungerer
Signed-off-by: David S. Miller -
Reported-by: Fengguang Wu
Signed-off-by: David S. Miller -
As described in my patch series from the other day, we need to
rearrange redirect handling so that the local initiators of packets
(sockets, tunnels, xfrms, etc.) that implement the protocols compute
the route and pass this down into the ipv4/ipv6 routing code.These changes here do so by implementing a new dst_ops->redirect
method.No more do we have this funny code that tries several different sets
of routing keys to try and figure out which route the redirect should
actually be applied to.No more do we have the problem wherein TOS rewriting causes problems
for us.Signed-off-by: David S. Miller
-
No longer necessary.
Signed-off-by: David S. Miller