22 Jul, 2011
40 commits
-
IPv6 fragment identification generation is way beyond what we use for
IPv4 : It uses a single generator. Its not scalable and allows DOS
attacks.Now inetpeer is IPv6 aware, we can use it to provide a more secure and
scalable frag ident generator (per destination, instead of system wide)This patch :
1) defines a new secure_ipv6_id() helper
2) extends inet_getid() to provide 32bit results
3) extends ipv6_select_ident() with a new dest parameterReported-by: Fernando Gont
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
The function can_get_bittiming is not used anywhere else, so it should be
static.Signed-off-by: Thadeu Lima de Souza Cascardo
Signed-off-by: David S. Miller -
NETIF_F_HIGHDMA is being disabled even when dma64 is true. This patch fixes it.
CC: Michal Miroslaw
Signed-off-by: Shreyas N Bhatewara
Signed-off-by: David S. Miller -
Parent device for netdev should be set before netdev_info() can be called
otherwise there is a NULL pointer dereference and probe() fails.Signed-off-by: Shreyas N Bhatewara
Signed-off-by: Scott J. Goldman --
Signed-off-by: David S. Miller -
This device can be found in Acer Iconia TAB W500 tablet dock.
Signed-off-by: Marek Vasut
Signed-off-by: David S. Miller -
Prior to this change, most PHY configuration parameters were passed
into the STMMAC device as a separate PHY device. As well as being
unusual, this made it difficult to make changes to the MAC/PHY
relationship.This patch moves all the PHY parameters into the MAC configuration
structure, mainly as a separate structure. This allows us to completely
ignore the MDIO bus attached to a stmmac if desired, and not create
the PHY bus. It also allows the stmmac driver to use a different PHY
from the one it is connected to, for example a fixed PHY or bit banging
PHY.Also derive the stmmac/PHY connection type (MII/RMII etc) from the
mode can be passed into _configure_ethernet.
STLinux kernel at git://git.stlinux.com/stm/linux-sh4-2.6.32.y.git
provides several examples how to use this new infrastructure (that
actually is easier to maintain and clearer).Signed-off-by: Stuart Menefy
Signed-off-by: Giuseppe Cavallaro
Signed-off-by: David S. Miller -
The patch removes the following serie of warnings
when the driver is compiled as built-in:drivers/net/stmmac/stmmac_main.c: In function stmmac_cmdline_opt:
drivers/net/stmmac/stmmac_main.c:1855:12: warning: ignoring return
value of kstrtoul, declared with attribute warn_unused_result
[snip]Signed-off-by: Giuseppe Cavallaro
Signed-off-by: David S. Miller -
Signed-off-by: Giuseppe Cavallaro
Signed-off-by: David S. Miller -
This patch add the missing dma_unmap().
Which solved the critical issue of system freeze on heavy load.Michal Miroslaw's rejected patch:
[PATCH v2 10/46] net: jme: convert to generic DMA API
Pointed out the issue also, thank you Michal.
But the fix was incorrect. It would unmap needed address
when low memory.Got lots of feedback from End user and Gentoo Bugzilla.
https://bugs.gentoo.org/show_bug.cgi?id=373109
Thank you all. :)Cc: stable@kernel.org
Signed-off-by: Guo-Fu Tseng
Acked-by: Chris Wright
Signed-off-by: David S. Miller -
ndo_vlan_rx_register is no longer in use in any driver so remove it.
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
Now when all devices are cleaned up, bond can be cleaned up as well
- remove bond->vlgrp
- remove bond_vlan_rx_register
- substitute necessary occurences of vlan_group_get_deviceSigned-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 -
- kill priv->vlgrp and stmmac_vlan_rx_register (used for nothing :))
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill card->vlangrp and qeth_l3_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill vdev->vlgrp and vxge_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill adapter->vlgrp and igb_vlan_rx_register
- allow to turn on/off rx/tx vlan accel via ethtool (set_features)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill np->vlangrp and nv_vlan_rx_register
- allow to turn on/off rx vlan accel via ethtool (set_features)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill adapter->vlgrp and e1000_vlan_rx_register
- allow to turn on/off rx/tx vlan accel via ethtool (set_features)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill pi->vlan_grp and vlan_rx_register
- allow to turn on/off rx/tx vlan accel via ethtool (set_features)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill adapter->vlgrp and atl2_vlan_rx_register
- allow to turn on/off rx/tx vlan accel via ethtool (set_features)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill adapter->vlgrp and atlx_vlan_rx_register
- allow to turn on/off rx/tx vlan accel via ethtool (set_features)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill dev->vlgrp and ns83820_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill np->vlgrp and netdev_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill vptr->vlgrp and velocity_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill ap->vlgrp and ace_vlan_rx_register
- enable vlan hw accel always (kill vlan ifdefs)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill adapter->vlgrp and ixgbevf_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill priv->vlgrp and bdx_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill sp->vlgrp and s2io_vlan_rx_register and s2io_vlan_rx_kill_vid
(which does nothing and is never called :))Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan path
- kill qdev->vlgrp and qlge_vlan_rx_register
- allow to turn on/off rx/tx vlan accel via ethtool (set_features)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan path
- kill priv->vlgrp and mlx4_en_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill jme->vlgrp and jme_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill adapter->vlgrp and igbvf_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill priv->vlgrp and gfar_vlan_rx_register
- allow to turn on/off rx/tx vlan accel via ethtoolSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill enic->vlan_group and enic_vlan_rx_registerSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill pi->vlan_grp and cxgb4vf_vlan_rx_register
- allow to turn on/off rx/tx vlan accel via ethtool (set_features)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
- unify vlan and nonvlan rx path
- kill adapter->vlan_grp and t1_vlan_rx_register
- allow to turn on/off rx/tx vlan accel via ethtool (set_features)Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller