| From | Subject | Date |
|---|---|---|
| jamal | [PATCH] xfrm: use proper kernel types
One of those pedantic cowboy fixes ..
cheers,
jamal
| Feb 9, 4:21 pm 2010 |
| Matthew Garrett | [PATCH 1/2] e1000e: Only disable ASPM on 82573L devices
The 82537 errata and comment in e1000e_disable_l1aspm both agree that
only 82537L devices are affected. Limit the L1 disable to them.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
drivers/net/e1000e/netdev.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 57f149b..27eed81 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -4642,6 +4642,10 @@ static void ...
| Feb 9, 4:03 pm 2010 |
| Matthew Garrett | [PATCH 2/2] e1000e: Don't disable jumbo frames on 82537L ...
According to the 82537L errata, jumbo frames will work correctly if ASPM
is disabled. Since we disable ASPM on these devices, leave jumbo frames
enabled.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
drivers/net/e1000e/82571.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c
index 02d67d0..2df00cc 100644
--- a/drivers/net/e1000e/82571.c
+++ b/drivers/net/e1000e/82571.c
@@ -381,18 +381,6 @@ ...
| Feb 9, 4:03 pm 2010 |
| Joe Perches | [RFC PATCH net-next 0/7] Add netdev_printk and netif_pri ...
Some logging messages duplicate the driver name with the device name like:
ATL1E 0000:03:00.0: ATL1E: eth0 NIC Link is Up<100 Mbps Full Duplex>
Some drivers/net/... have created netif_ macros like:
drivers/net/sis190.c:#define net_drv(p, arg...) if (netif_msg_drv(p)) \
drivers/net/sis190.c- printk(arg)
drivers/net/sis190.c:#define net_probe(p, arg...) if (netif_msg_probe(p)) \
drivers/net/sis190.c- printk(arg)
drivers/net/sis190.c:#define net_link(p, arg...) if (netif_msg_link(p)) ...
| Feb 9, 2:49 pm 2010 |
| Joe Perches | [RFC PATCH net-next 3/7] include/linux/netdevice.h: Add ...
Add macros to test a private structure for msg_enable bits
and the netif_msg_##bit to test and call netdev_printk if set
Simplifies logic in callers and adds message logging consistency
Signed-off-by: Joe Perches <joe@perches.com>
---
include/linux/netdevice.h | 53 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 30ed7e0..6d7935f 100644
--- ...
| Feb 9, 2:49 pm 2010 |
| Joe Perches | [RFC PATCH net-next 7/7] drivers/net/skge.c: Use netif_p ...
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/net/skge.c | 73 ++++++++++++++++++++-------------------------------
1 files changed, 29 insertions(+), 44 deletions(-)
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index 5ff46eb..d65138e 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -1074,13 +1074,11 @@ static void skge_link_up(struct skge_port *skge)
netif_carrier_on(skge->netdev);
netif_wake_queue(skge->netdev);
- if (netif_msg_link(skge)) ...
| Feb 9, 2:49 pm 2010 |
| Joe Perches | [RFC PATCH net-next 4/7] drivers/net/r8196.c: Use netif_ ...
Simplify the logic a bit, make the message logs a bit more consistent.
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/net/r8169.c | 136 ++++++++++++++++++---------------------------------
1 files changed, 48 insertions(+), 88 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index c1bb24c..a545c15 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -744,12 +744,10 @@ static void rtl8169_check_link_status(struct net_device *dev,
...
| Feb 9, 2:49 pm 2010 |
| Joe Perches | [RFC PATCH net-next 2/7] drivers/net/atl1e: Use netdev_p ...
Logging messages sometimes had duplicated "ATL1E" output.
For instance:
ATL1E 0000:03:00.0: ATL1E: eth0 NIC Link is Up<100 Mbps Full Duplex>
is now:
ATL1E 0000:03:00.0: eth0: NIC Link is Up <100 Mbps Full Duplex>
Add some consistency to logging messages
Add some missing \n's to logging messages
Miscellaneous typo spelling corrections
Change atl1e_validate_option argument from pdev to adapter
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/net/atl1e/atl1e_hw.c | 23 ...
| Feb 9, 2:49 pm 2010 |
| Joe Perches | [RFC PATCH net-next 6/7] drivers/net/qlge: Use netif_pri ...
Convert QPRINTK macros to netif_<level> equivalents.
Expands and standardizes the logging message output.
Removes __func__ from most logging messages.
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/net/qlge/qlge.h | 8 -
drivers/net/qlge/qlge_dbg.c | 58 ++--
drivers/net/qlge/qlge_ethtool.c | 49 ++-
drivers/net/qlge/qlge_main.c | 841 ++++++++++++++++++++-------------------
drivers/net/qlge/qlge_mpi.c | 183 ++++-----
5 files changed, 580 ...
| Feb 9, 2:49 pm 2010 |
| Joe Perches | [RFC PATCH net-next 5/7] drivers/net/jme: Use netif_prin ...
Convert uses of msg_<type> to netif_<level>(
Remove msg_<type> macros
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/net/jme.c | 54 ++++++++++++++++++++++++++--------------------------
drivers/net/jme.h | 41 ++++++---------------------------------
2 files changed, 34 insertions(+), 61 deletions(-)
diff --git a/drivers/net/jme.c b/drivers/net/jme.c
index 26eed49..282a968 100644
--- a/drivers/net/jme.c
+++ b/drivers/net/jme.c
@@ -288,7 +288,7 @@ jme_set_rx_pcc(struct ...
| Feb 9, 2:49 pm 2010 |
| Joe Perches | [RFC PATCH net-next 1/7] netdevice.h: Add netdev_printk ...
These netdev_printk routines take a struct net_device * and emit
dev_printk logging messages adding "%s: " ... netdev->dev.parent
to the dev_printk format and arguments.
This can create some uniformity in the output message log.
These helpers should not be used until a successful alloc_netdev.
Signed-off-by: Joe Perches <joe@perches.com>
---
include/linux/netdevice.h | 71 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 71 insertions(+), 0 deletions(-)
diff --git ...
| Feb 9, 2:49 pm 2010 |
| Dan Smith | Network device and namespace checkpoint/restart (v2)
This patch set adds checkpoint/restart support for network namespaces,
as well as the network devices within. Currently supports veth and loopback
device types.
Major changes from last time[1] are:
- Add a per-device ndo_checkpoint() operation which simultaneously
isolates the checkpoint layer from the network device's checkpoint
function and internal data, and also provides a better way to
determine checkpointability of a given interface.
- Use RTNL to create the veth pair as ...
| Feb 9, 2:25 pm 2010 |
| Dan Smith | [PATCH 2/4] C/R: Basic support for network namespaces an ...
When checkpointing a task tree with network namespaces, we hook into
do_checkpoint_ns() along with the others. Any devices in a given namespace
are checkpointed (including their peer, in the case of veth) sequentially.
Each network device stores a list of protocol addresses, as well as other
information, such as hardware address.
This patch supports veth pairs, as well as the loopback adapter. The
loopback support is there to make sure that any additional addresses and
state (such as up/down) ...
| Feb 9, 2:25 pm 2010 |
| Dan Smith | [PATCH 3/4] Add checkpoint support for veth devices
Adds an ndo_checkpoint() handler for veth devices to checkpoint themselves.
Writes out the pairing information, addresses, and initiates a checkpoint
on the peer if the peer won't be reached from another netns. Throws an
error of our peer's netns isn't already in the hash (i.e., a tree leak).
Signed-off-by: Dan Smith <danms@us.ibm.com>
---
drivers/net/veth.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 74 insertions(+), 0 deletions(-)
diff --git ...
| Feb 9, 2:25 pm 2010 |
| Dan Smith | [PATCH 1/4] Add checkpoint and collect hooks to net_device_ops
These will be implemented per-driver by those that support such
operations.
Signed-off-by: Dan Smith <danms@us.ibm.com>
---
include/linux/netdevice.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index a3fccc8..415a791 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -673,6 +673,12 @@ struct net_device_ops {
int (*ndo_fcoe_get_wwn)(struct net_device *dev,
u64 ...
| Feb 9, 2:25 pm 2010 |
| Dan Smith | [PATCH 4/4] Add loopback checkpoint support
Adds a small ndo_checkpoint() handler for loopback devices to write the
name and addresses like other interfaces.
Signed-off-by: Dan Smith <danms@us.ibm.com>
---
drivers/net/loopback.c | 41 ++++++++++++++++++++++++++++++++++++++---
1 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c
index b9fcc98..816a527 100644
--- a/drivers/net/loopback.c
+++ b/drivers/net/loopback.c
@@ -57,6 +57,8 @@
#include <linux/ip.h>
#include ...
| Feb 9, 2:25 pm 2010 |
| John Linn | [PATCH] [V3] net: emaclite: adding MDIO and phy lib support
These changes add MDIO and phy lib support to the driver as the
IP core now supports the MDIO bus.
The MDIO bus and phy are added as a child to the emaclite in the device
tree as illustrated below.
mdio {
#address-cells = <1>;
#size-cells = <0>;
phy0: phy@7 {
compatible = "marvell,88e1111";
reg = <7>;
} ;
}
Signed-off-by: Sadanand Mutyala <Sadanand.Mutyala@xilinx.com>
Signed-off-by: John Linn <john.linn@xilinx.com>
Acked-by: Grant Likely ...
| Feb 9, 1:31 pm 2010 |
| John Williams | Re: [PATCH] [V3] net: emaclite: adding MDIO and phy lib ...
Hi John,
Sorry If I'm painting bike-sheds here, just one tiny tweak might be in
Can this be better expressed like this:
my_func() {
mutex_lock()
..
if(some error) {
rc=-ETIMEDOUT;
goto out_unlock;
}
...
/* success path */
rc=0;
..
out_unlock:
mutex_unlock()
return rc;
}
Is this style still favoured in driver exit paths?
Thanks,
John
--
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: ...
| Feb 9, 3:30 pm 2010 |
| John Linn | RE: [PATCH] [V3] net: emaclite: adding MDIO and phy lib ...
I considered that and then blew it off (maybe shouldn't have).
If we think it's a more std way to do it then no big deal. I'll see if there are any other comments before spinning another maybe final patch.
Thanks for the input,
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or ...
| Feb 9, 3:38 pm 2010 |
| John Linn | RE: [PATCH] [V3] net: emaclite: adding MDIO and phy lib ...
It looks to me like the mutex is not needed in the driver mdio functions as there's a mutex in the mdiobus functions already.
Am I wrong about that?
Thanks,
John
From phy/mdio_bus.c
int mdiobus_read(struct mii_bus *bus, int addr, u16 regnum)
{
int retval;
BUG_ON(in_interrupt());
mutex_lock(&bus->mdio_lock);
retval = bus->read(bus, addr, regnum);
mutex_unlock(&bus->mdio_lock);
return retval;
}
EXPORT_SYMBOL(mdiobus_read);
int mdiobus_write(struct mii_bus *bus, int ...
| Feb 9, 4:00 pm 2010 |
| Greg Alexander | BMC Tigon 3 (tg3) problem with powering down PHY (tentat ...
Hi all -
My new Lenovo U150 has a BMC57780 in it. It uses mdio with phylib to
access the PHY. I am using x86-64 SMP kernel 2.6.32.7.
The device initializes successfully the first time but after ifconfig
down, it will not not re-initialize. It looks like the phy layer is
attempting to autonegotiate while MII_BMCR is BMCR_PDOWN.
drivers/net/tg3.c:tg3_set_power_state() calls tg3_power_down_phy() which
sets BMCR_PDOWN directly. But I could not find anything which is
responsible for powering ...
| Feb 9, 11:08 am 2010 |
| Ben Hutchings | [PATCH net-2.6] sfc: Fix SFE4002 initialisation
From: Steve Hodgson <shodgson@solarflare.com>
Commit 357d46a17e54c9a87e0e6ef3930ff4ab2d232b81 "sfc: QT202x: Remove
unreliable MMD check at initialisation" broke initialisation of the
SFE4002. efx_mdio_reset_mmd() returns a positive value rather than 0
on success. The above commit causes this value to be propagated up
by qt202x_reset_phy(), which is treated as a failure by its callers.
Change qt202x_reset_phy() to return 0 if successful.
The PCI layer treats >0 as "fail, but please call ...
| Feb 9, 8:52 am 2010 |
| jamal | [PATCH] xfrm: validate attributes
make sure all XFRMAs go through validation in case wrong
content is passed
cheers,
jamal
| Feb 9, 6:59 am 2010 |
| Mihamina Rakotomandimby | place for discussion about 'tc'
Manao ahoana, Hello, Bonjour,
Where is the right mailing list for discussing 'tc' usage?
Misaotra, Thanks, Merci.
--
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 29 155 34 / +261 33 11 207 36
--
| Feb 9, 4:35 am 2010 |
| Ajit Khaparde | [PATCH 7/7] be2net: remove ASIC generation number from Kconfig
Since the driver is supporting multiple generations of the ASIC
don't mention any ASIC generation number.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
drivers/net/benet/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/benet/Kconfig b/drivers/net/benet/Kconfig
index fdb6e81..1a41a49 100644
--- a/drivers/net/benet/Kconfig
+++ b/drivers/net/benet/Kconfig
@@ -1,6 +1,6 @@
config BE2NET
- tristate "ServerEngines' 10Gbps NIC - ...
| Feb 9, 4:39 am 2010 |
| Ajit Khaparde | [PATCH 6/7] be2net: change the driver description
Since the driver is supporting multiple generations of the ASIC
remove ASIC generation information from the driver description.
This information is displayed by modinfo.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
drivers/net/benet/be.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h
index 476a5c4..b39b385 100644
--- a/drivers/net/benet/be.h
+++ b/drivers/net/benet/be.h
@@ -38,7 +38,7 @@
#define ...
| Feb 9, 4:38 am 2010 |
| Ajit Khaparde | [PATCH 5/7] be2net: fix to limit max vlans supported in ...
In certain skews the ASIC can support only 16 vlans per interface.
Once the limit is crossed, the ASIC is programmed in vlan promiscuous mode.
Switch off the vlan promiscuous mode once the number of vlans
falls back to the max vlans supported.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
drivers/net/benet/be.h | 3 ++-
drivers/net/benet/be_main.c | 30 +++++++++++++++++-------------
2 files changed, 19 insertions(+), 14 deletions(-)
diff --git ...
| Feb 9, 4:34 am 2010 |
| Ajit Khaparde | [PATCH 4/7] be2net: minor code optimizations
Couple of code optimizations in the Rx path (to avoid a memset).
From: Sathya P <sathyap@serverengines.com>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
drivers/net/benet/be_main.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index f1136a3..107de6d 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -635,9 +635,11 @@ get_rx_page_info(struct be_adapter ...
| Feb 9, 4:34 am 2010 |
| Ajit Khaparde | [PATCH 3/7] be2net: bug fix in be_change_mtu
Current code allows the new mtu to cross the supported value.
This patch fixes the boundary checks.
From: Suresh R <sureshr@serverengines.com>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
drivers/net/benet/be_main.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 1d773db..f1136a3 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -473,10 +473,12 @@ static ...
| Feb 9, 4:32 am 2010 |
| Ajit Khaparde | [PATCH 2/7] be2net: bug fix for flashing the BladeEngine3 ASIC
Now flashing both BE2 and BE3 devices is supported.
From: Naresh G <nareshg@serverengines.com>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
drivers/net/benet/be_cmds.c | 9 +-
drivers/net/benet/be_cmds.h | 3 +-
drivers/net/benet/be_hw.h | 119 +++++++++++++++-------
drivers/net/benet/be_main.c | 239 +++++++++++++++++++++++--------------------
4 files changed, 217 insertions(+), 153 deletions(-)
diff --git a/drivers/net/benet/be_cmds.c ...
| Feb 9, 4:30 am 2010 |
| Ajit Khaparde | [PATCH 1/7] be2net: remove unused pci device id
We are not going to use this device id.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
drivers/net/benet/be.h | 6 ++----
drivers/net/benet/be_main.c | 1 -
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h
index 5bc7459..2420131 100644
--- a/drivers/net/benet/be.h
+++ b/drivers/net/benet/be.h
@@ -44,16 +44,14 @@
#define BE_DEVICE_ID1 0x211
#define BE_DEVICE_ID2 0x221
#define ...
| Feb 9, 4:28 am 2010 |
| Ben Hutchings | Re: e1000e-1.1.2 Compile errors with 2.4.37 and gcc 2.95.3
[...]
netdev only deals with recent 2.6 kernels. I'm amazed that Intel still
wastes time on 2.4.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Feb 9, 4:21 am 2010 |
| Marco Schwarz | e1000e-1.1.2 Compile errors with 2.4.37 and gcc 2.95.3
Hi,
I get the following output when trying to compile e1000e-1.1.2 with Linux Kernel 2.4.37 and gcc 2.95.3 (e1000-8.0.16 compiles fine):
gcc -DDRIVER_E1000E -DDRIVER_NAME=e1000e -DDRIVER_NAME_CAPS=E1000E -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/lib/modules/2.4.37/build/include -I. -DMODVERSIONS -DEXPORT_SYMTAB -include /lib/modules/2.4.37/build/include/linux/modversions.h -Wno-sign-compare -fno-strict-aliasing -c -o netdev.o netdev.c
In file included from netdev.c:51:
e1000.h:144: ...
| Feb 9, 2:58 am 2010 |
| Li Zefan | [PATCH 00/13] net: simplify seq_file code, revised
This patchset introduces seq_hlist_foo() helpers, and convert
net/* to seq_hlist_foo() and seq_list_foo().
Changelog:
- Add kerneldoc in patch 1/13
- Fix compile warning in patch 11/13
- Fix a bug in patch 12/13
---
fs/seq_file.c | 60 ++++++++++++++++++++-
include/linux/seq_file.h | 11 ++++
include/net/sock.h | 5 ++
net/appletalk/atalk_proc.c | 30 +----------
net/atm/proc.c | 2 +-
net/atm/resources.c | 28 ...
| Feb 9, 2:18 am 2010 |
| Li Zefan | [PATCH 02/13] net: add a wrapper sk_entry()
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
include/net/sock.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/net/sock.h b/include/net/sock.h
index 3f1a480..c8d4000 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -317,6 +317,11 @@ struct sock {
/*
* Hashed lists helper routines
*/
+static inline struct sock *sk_entry(const struct hlist_node *node)
+{
+ return hlist_entry(node, struct sock, sk_node);
+}
+
static inline ...
| Feb 9, 2:18 am 2010 |
| Li Zefan | [PATCH 05/13] net: packet: use seq_hlist_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/packet/af_packet.c | 20 +++-----------------
1 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index 0f6bf59..256de26 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -2374,33 +2374,19 @@ static struct notifier_block packet_netdev_notifier = {
};
#ifdef CONFIG_PROC_FS
-static inline struct sock *packet_seq_idx(struct net ...
| Feb 9, 2:19 am 2010 |
| Li Zefan | [PATCH 08/13] net: appletalk: use seq_hlist_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/appletalk/atalk_proc.c | 30 +++---------------------------
1 files changed, 3 insertions(+), 27 deletions(-)
diff --git a/net/appletalk/atalk_proc.c b/net/appletalk/atalk_proc.c
index 80caad1..6ef0e76 100644
--- a/net/appletalk/atalk_proc.c
+++ b/net/appletalk/atalk_proc.c
@@ -144,40 +144,16 @@ out:
return 0;
}
-static __inline__ struct sock *atalk_get_socket_idx(loff_t pos)
-{
- struct sock ...
| Feb 9, 2:20 am 2010 |
| Li Zefan | [PATCH 09/13] net: af_key: use seq_hlist_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/key/af_key.c | 20 +++-----------------
1 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/net/key/af_key.c b/net/key/af_key.c
index 76fa6fe..cb006b6 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -3655,9 +3655,8 @@ static const struct net_proto_family pfkey_family_ops = {
#ifdef CONFIG_PROC_FS
static int pfkey_seq_show(struct seq_file *f, void *v)
{
- struct sock *s;
+ struct sock ...
| Feb 9, 2:20 am 2010 |
| Li Zefan | [PATCH 11/13] net: irda: use seq_list_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/irda/irlan/irlan_common.c | 28 ++++------------------------
1 files changed, 4 insertions(+), 24 deletions(-)
diff --git a/net/irda/irlan/irlan_common.c b/net/irda/irlan/irlan_common.c
index 315ead3..98911c4 100644
--- a/net/irda/irlan/irlan_common.c
+++ b/net/irda/irlan/irlan_common.c
@@ -1128,34 +1128,14 @@ int irlan_extract_param(__u8 *buf, char *name, char *value, __u16 *len)
*/
static void ...
| Feb 9, 2:21 am 2010 |
| Li Zefan | [PATCH 01/13] seq_file: Add helpers for iteration over a hlist
Some places in kernel need to iterate over a hlist in seq_file,
so provide some common helpers.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/seq_file.c | 60 +++++++++++++++++++++++++++++++++++++++++++--
include/linux/seq_file.h | 11 ++++++++
2 files changed, 68 insertions(+), 3 deletions(-)
diff --git a/fs/seq_file.c b/fs/seq_file.c
index eae7d9d..ff91aef 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -674,7 +674,6 @@ struct list_head *seq_list_start(struct ...
| Feb 9, 2:18 am 2010 |
| Li Zefan | [PATCH 07/13] net: ax25: use seq_hlist_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/ax25/af_ax25.c | 18 +++---------------
net/ax25/ax25_uid.c | 25 ++++---------------------
2 files changed, 7 insertions(+), 36 deletions(-)
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c
index 5588ba6..a5beedf 100644
--- a/net/ax25/af_ax25.c
+++ b/net/ax25/af_ax25.c
@@ -1863,25 +1863,13 @@ static int ax25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
static void ...
| Feb 9, 2:19 am 2010 |
| Li Zefan | [PATCH 06/13] net: netrom: use seq_hlist_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/netrom/af_netrom.c | 21 ++----------------
net/netrom/nr_route.c | 53 ++++++++---------------------------------------
2 files changed, 12 insertions(+), 62 deletions(-)
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c
index 71604c6..a249127 100644
--- a/net/netrom/af_netrom.c
+++ b/net/netrom/af_netrom.c
@@ -1267,28 +1267,13 @@ static int nr_ioctl(struct socket *sock, unsigned int cmd, ...
| Feb 9, 2:19 am 2010 |
| Li Zefan | [PATCH 03/13] net: x25: use seq_hlist_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujtisu.com>
---
net/x25/x25_proc.c | 30 +++---------------------------
1 files changed, 3 insertions(+), 27 deletions(-)
diff --git a/net/x25/x25_proc.c b/net/x25/x25_proc.c
index 0a04e62..c4cd322 100644
--- a/net/x25/x25_proc.c
+++ b/net/x25/x25_proc.c
@@ -93,40 +93,16 @@ out:
return 0;
}
-static __inline__ struct sock *x25_get_socket_idx(loff_t pos)
-{
- struct sock *s;
- struct hlist_node ...
| Feb 9, 2:19 am 2010 |
| Li Zefan | [PATCH 04/13] net: rose: use seq_hlist_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/rose/af_rose.c | 22 +++-------------------
1 files changed, 3 insertions(+), 19 deletions(-)
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c
index 8feb9e5..e90b9b6 100644
--- a/net/rose/af_rose.c
+++ b/net/rose/af_rose.c
@@ -1404,29 +1404,13 @@ static int rose_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
static void *rose_info_start(struct seq_file *seq, loff_t *pos)
...
| Feb 9, 2:19 am 2010 |
| Li Zefan | [PATCH 13/13] net: atm: use seq_list_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/atm/proc.c | 2 +-
net/atm/resources.c | 18 ++----------------
2 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/net/atm/proc.c b/net/atm/proc.c
index ab8419a..c0c3a79 100644
--- a/net/atm/proc.c
+++ b/net/atm/proc.c
@@ -236,7 +236,7 @@ static int atm_dev_seq_show(struct seq_file *seq, void *v)
"Itf Type ESI/\"MAC\"addr "
"AAL(TX,err,RX,err,drop) ... ...
| Feb 9, 2:21 am 2010 |
| Li Zefan | [PATCH 10/13] net: x25: use seq_list_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/x25/x25_proc.c | 84 +++++-----------------------------------------------
1 files changed, 8 insertions(+), 76 deletions(-)
diff --git a/net/x25/x25_proc.c b/net/x25/x25_proc.c
index c4cd322..7ff3737 100644
--- a/net/x25/x25_proc.c
+++ b/net/x25/x25_proc.c
@@ -25,49 +25,17 @@
#include <net/x25.h>
#ifdef CONFIG_PROC_FS
-static __inline__ struct x25_route *x25_get_route_idx(loff_t pos)
-{
- struct ...
| Feb 9, 2:20 am 2010 |
| Li Zefan | [PATCH 12/13] net: ipx: use seq_list_foo() helpers
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/ipx/ipx_proc.c | 90 +++++++---------------------------------------------
1 files changed, 12 insertions(+), 78 deletions(-)
diff --git a/net/ipx/ipx_proc.c b/net/ipx/ipx_proc.c
index 5761784..26b5bfc 100644
--- a/net/ipx/ipx_proc.c
+++ b/net/ipx/ipx_proc.c
@@ -13,45 +13,15 @@
#include <net/tcp_states.h>
#include <net/ipx.h>
-static __inline__ struct ipx_interface *ipx_get_interface_idx(loff_t ...
| Feb 9, 2:21 am 2010 |
| David Miller | [GIT]: Networking
Most notable bits here are the netfilter conntack namespace
fixes, and the sky2 DMA mapping leak fix.
1) Bluetooth fixes from Marcel Holtmann and co.
a) Missing kfree() leads to leak
b) Double put on RFCOMM sockets
c) Handle SCO 0x1a errors (Unsupported Remote Feature)
d) Fix user copy outside of proper context
e) RFCOMM sleeping in invalid context
2) dst_gc() needs to preempt, fix from Eric Dumazet.
3) Netxen fixes (tx timeout adjustment for NX2031, protect
...
| Feb 8, 11:59 pm 2010 |
| Stephen Hemminger | [PATCH 1/2] IPv6: keep permanent addresses on admin down
Permanent IPV6 addresses should not be removed when the link is
set to admin down, only when device is removed.
When link is lost permanent addresses should be marked as tentative
so that when link comes back they are subject to duplicate address
detection (if DAD was enabled for that address).
Other routing systems keep manually configured IPv6 addresses
when link is set down.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
---
The logic here is getting long and twisted, ...
| Feb 8, 10:48 pm 2010 |
| Brian Haley | Re: [PATCH 1/2] IPv6: keep permanent addresses on admin down
What about addrconf_del_timer()? It didn't seem to make it to this else{} from
the original.
-Brian
--
| Feb 9, 7:40 am 2010 |
| Stephen Hemminger | Re: [PATCH 1/2] IPv6: keep permanent addresses on admin down
On Tue, 09 Feb 2010 09:40:11 -0500
addrconf_del_timer is already being done earlier in same code
no need to do it twice.
--
--
| Feb 9, 9:36 am 2010 |
| Stephen Hemminger | [PATCH 2/2] IPv6: remove trivial nested _bh suffix
Don't need to disable bottom half it is already down in the
previous lock. Move some blank lines to group locking in same
context.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/net/ipv6/addrconf.c 2010-02-08 21:37:31.589584963 -0800
+++ b/net/ipv6/addrconf.c 2010-02-08 21:37:41.114027790 -0800
@@ -2802,14 +2802,14 @@ static void addrconf_dad_start(struct in
read_lock_bh(&idev->lock);
if (ifp->dead)
goto out;
- spin_lock_bh(&ifp->lock);
+ spin_lock(&ifp->lock);
...
| Feb 8, 10:48 pm 2010 |
| Brown Gun | Loan Offer
The Brown Loan Financial Company, offer loan to people at interest rate of
3%, Whatever do you need your loan for; extra cash, a new car, a luxury
holiday, a wedding, Bank Loan, Cash Loan, Consolidation Loans, Bad Credit
Loans, Small Loan, Personal Loan,Email brownloan03@9.cn
--
| Feb 8, 6:47 pm 2010 |
| Ajit Khaparde | [PATCH net-next-2.6] be2net: bug fix in be_read_eeprom
The offset to read the eeprom data was missing and
wrong eeprom data was being dumped. This patch fixes this.
From Suresh R <sureshr@serverengines.com>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
drivers/net/benet/be_ethtool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/benet/be_ethtool.c b/drivers/net/benet/be_ethtool.c
index 09d8899..dcc7f37 100644
--- a/drivers/net/benet/be_ethtool.c
+++ b/drivers/net/benet/be_ethtool.c
@@ -614,7 ...
| Feb 8, 8:51 pm 2010 |
| Stephen Rothwell | linux-next: manual merge of the net tree with the wirele ...
Hi all,
Today's linux-next merge of the net tree got a conflict in
net/mac80211/scan.c between commit
c0ce77b8323c1a0d4eeef97caf16c0ea971222a9 ("mac80211: fix deferred
hardware scan requests") from the wireless-current tree and commit
af6b63741cc4e4dfd575d06beb333b11a8a6e0c0 ("mac80211: generalise work
handling") from the net tree.
I resolved this the same way it is resolved in the merge of the
wireless-current tree into the wireless tree.
--
Cheers,
Stephen Rothwell ...
| Feb 8, 7:24 pm 2010 |
| John W. Linville | Re: linux-next: manual merge of the net tree with the wi ...
Maybe it would make sense to pull the wireless trees _before_ the
greater net trees? That way you can get the benefit of my merge
conflict resolutions automatically.
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
--
| Feb 8, 8:20 pm 2010 |
| Divy Le Ray | [PATCH net-2.6] cxgb3: fix GRO checksum check
From: Divy Le Ray <divy@chelsio.com>
Verify the HW checksum state for frames handed to GRO processing.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
---
drivers/net/cxgb3/sge.c | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index bdbd147..318a018 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -2079,6 +2079,7 @@ static void lro_add_page(struct adapter *adap, struct ...
| Feb 8, 5:55 pm 2010 |
| David Miller | Re: [PATCH net-2.6] cxgb3: fix GRO checksum check
From: Divy Le Ray <divy@chelsio.com>
Applied, thanks.
--
| Feb 8, 11:37 pm 2010 |
| Shirley Ma | [PATCH 1/1 net-next] virtio_net: remove send queue
Now we have a virtio detach API (in commit
f9bfbebf34eab707b065116cdc9699d25ba4252a), we don't need to track xmit
skbs in the virio_net driver, which improves transmission performance.
Signed-off-by: Shirley Ma <xma@us.ibm.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
---
drivers/net/virtio_net.c | 26 ++++++++------------------
1 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/drivers/net/virtio_net.c ...
| Feb 8, 5:14 pm 2010 |
| =?UTF-8?B?UGF3ZcWCIF ... | Re: [Bugme-new] [Bug 15239] New: Problem with network pe ...
Yes - i make bugreport and after i write also here on the list
And Eric Dumazet help to solve problem with "route cache" - and locking
load on one cpu after information about "route cache disabled".
After his patch i don't see any errors in dmesg.
But i think there is a little more in my bugreport on bugzilla.
Regards
--
| Feb 9, 12:19 am 2010 |
| Eric Dumazet | Re: [Bugme-new] [Bug 15239] New: Problem with network pe ...
OK, but this is real old bug (since 2.6.24), not a 2.6.32/2.6.33
regression...
You were just lucky not hitting it before, probably because you tried
different settings.
--
| Feb 9, 12:36 am 2010 |
| =?UTF-8?B?UGF3ZcWCIF ... | Feb 9, 12:37 am 2010 | |
| =?UTF-8?B?UGF3ZcWCIF ... | Re: [Bugme-new] [Bug 15239] New: Problem with network pe ...
Yes i think it was all about change of settings.
I start to search what settings will be the best - with some experiments
--
| Feb 9, 12:46 am 2010 |
| Ferenc Wagner | Re: netconsole dumbs the system
I really shouldn't harass public mailing lists while running to the
train. So. This happens on 2.6.32.7, and has nothing to do with
bonding or vlans. Stopping early in the initramfs (before any network
setup) and starting netconsole brings down the console for good. This
time I ran with an IPMI SoL console:
[...]
[ 34.315957] sd 1:0:0:0: [sdc] Assuming drive cache: write through
[ 34.354246] sd 1:0:0:0: [sdc] Attached SCSI disk
(initramfs) modprobe netconsole ...
| Feb 9, 4:34 am 2010 |
| Karsten Keil | Re: [PATCH v2 00/41] CAPI: Major rework, tons of bug fixes
Thank you for that effort, it looks very good for me.
--
| Feb 9, 5:54 am 2010 |
| David Miller | Re: netfilter 00/05: netfilter fixes
From: Patrick McHardy <kaber@trash.net>
Done.
--
| Feb 9, 1:38 pm 2010 |
| Patrick McHardy | Re: netfilter 00/05: netfilter fixes
Thanks Dave. I plan to submit a first batch of patches queued for
net-next-2.6 soon, however these fixes introduced a large number
of conflicts. If you could merge net-2.6 into net-next-2.6 I'll
resolve them and send a pull request.
Thanks!
--
| Feb 9, 10:33 am 2010 |
| Jan Engelhardt | Re: netfilter 00/05: netfilter fixes
Ah that is a good opportunity then to rebase my pending -next patches,
to reduce conflicts you would have to solve when merging things after
the conflict resolution.
--
| Feb 9, 11:19 am 2010 |
| Eric Dumazet | Re: [net-next PATCH v2 2/3] net: TCP thin linear timeouts
Why not allowing user to clear thin_lt ?
--
| Feb 8, 11:31 pm 2010 |
| Andreas Petlund | Re: [net-next PATCH v2 2/3] net: TCP thin linear timeouts
Hi
Thanks for the feedback.
As far as I can see, the check a couple of lines above the decrementation
stops the icsk->icsk_backoff from being decremented if already zero.
Beyond that I cannot find any more places where this situation may arise.
Please correct me if I'm wrong and a boundary check is indeed warranted.
Excerpt from tcp_ipv4.c
------------------
if (seq != tp->snd_una || !icsk->icsk_retransmits ||
!icsk->icsk_backoff)
...
| Feb 9, 9:40 am 2010 |
| Grant Likely | Re: [PATCH] [V2] net: emaclite: adding MDIO and phy lib ...
You misunderstood me about the compatible property. You don't need a
compatible prop in the mdio node because it is *alwasy* a child of the
emaclite node, and the emaclite driver knows to go looking for it (ie.
it is a part of the device).
What I want to see is a compatible value in the phy@7 node for the
make & model of the phy.
Otherwise, looks good to me. Fix the mutex timeout problem and then
you can add my acked-by line to the patch.
Cheers,
g.
--
| Feb 9, 8:45 am 2010 |
| John Linn | RE: [PATCH] [V2] net: emaclite: adding MDIO and phy lib ...
Will spin V3 patch with fixes and add your ack, appreciate the help and your patience.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
--
| Feb 9, 8:57 am 2010 |
| Eric Dumazet | Re: [PATCH] dst: call cond_resched() in dst_gc_task()
Ah OK, thanks Andrew for this clarification.
I suppose offlining a cpu migrates its works to another (online) cpu ?
--
| Feb 9, 12:20 am 2010 |
| Eric Dumazet | Re: [PATCH] dst: call cond_resched() in dst_gc_task()
Who knows, it probably depends on many factors. I always run with cache
enabled, because it saves cycles on moderate load.
FIB_TRIE is unrelated here, if routing table is very small, it fits HASH
or TRIE.
Pawel hit the bug with tunables that basically enabled the cache but in
a non helpful way (filling the list of busy dst). User error combined
with a lazy kernel function :)
Please note that conversion from softirq to workqueue, without
scheduling point, might/probably use same cpu for ...
| Feb 8, 11:06 pm 2010 |
| Eric Dumazet | Re: [PATCH] dst: call cond_resched() in dst_gc_task()
Sorry Dave, I was not aware of the bugzilla entry.
--
| Feb 8, 11:07 pm 2010 |
| Andrew Morton | Re: [PATCH] dst: call cond_resched() in dst_gc_task()
No, keventd threads are each pinned to a single CPU (kthread_bind() in
start_workqueue_thread()), so dst_gc_task() gets run on the CPU which
ran schedule_delayed_work() and no other.
--
| Feb 8, 11:35 pm 2010 |
| Andrew Morton | Re: [PATCH] dst: call cond_resched() in dst_gc_task()
Sort of, effectively. The workqueue code runs all the pending works on
the to-be-offlined CPU and then it's done.
schedule_delayed_work() starts out with a timer, and the timer code
_does_ perform migration off the going-away CPU.
--
| Feb 9, 12:31 am 2010 |
| David Miller | Re: [PATCH] MAINTAINERS: networking drivers - Add git ne ...
From: Joe Perches <joe@perches.com>
Applied, thanks.
--
| Feb 8, 11:42 pm 2010 |
| David Miller | Re: [PATCH] net/sched: Fix module name in Kconfig
From: jamal <hadi@cyberus.ca>
Applied, thanks.
--
| Feb 8, 11:41 pm 2010 |
| Marcel Holtmann | Re: Pull request: bluetooth-2.6 2010-02-05
I wouldn't call them cool actually. It is a stressful week of non-stop
testing against other Bluetooth stacks and products. Also they are
covered under an NDA since some companies are testing with prototypes.
Regards
Marcel
--
| Feb 9, 8:52 am 2010 |
| David Miller | Re: Pull request: bluetooth-2.6 2010-02-05
From: Marcel Holtmann <marcel@holtmann.org>
I guess I need to find a better emoticon to use for sarcasm.
--
| Feb 9, 1:15 pm 2010 |
| David Miller | Re: Pull request: bluetooth-2.6 2010-02-05
From: Marcel Holtmann <marcel@holtmann.org>
Man, I live in Seattle and I still never get invited to these
Pulled, thanks!
--
| Feb 8, 11:50 pm 2010 |
| David Miller | Re: [net-next-2.6 PATCH 1/3] ethtool: Introduce n-tuple ...
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
These are kernel private data structures, please therefore put them in
the __KERNEL__ protected area of ethtool.h
Thanks.
--
| Feb 9, 4:17 pm 2010 |
| Li Zefan | Re: [PATCH 11/13] net: irda: use seq_list_foo() helpers
Thanks! Will fix.
--
| Feb 8, 11:57 pm 2010 |
| Ben Hutchings | Re: [PATCH 17/23 v3] mlx4_core: Randomize Mac addresses ...
[...]
Do you really want the last byte to be 0 always?
Assuming you don't, you can avoid the inner loop by writing:
union {
u8 bytes[ETH_ALEN];
__le64 qword;
} rand_mac = {
.qword = 0
};
...
random_ether_addr(rand_mac.bytes);
caps->def_mac[i] = le64_to_cpup(&rand_mac.qword);
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product ...
| Feb 9, 10:22 am 2010 |
| Ben Hutchings | Re: [PATCH 04/23 v3] mlx4_core: add slave resource allocation
Either make this really conditional or remove it. '#if 0' is not
useful.
This is fairly disgusting, and surely only works for one byte order. I
think you really want:
in_param = cqn;
and here:
in_param = first_seg | (u64)order << 32;
etc. etc.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Feb 9, 7:44 am 2010 |
| Ben Hutchings | Re: [PATCH 04/23 v3] mlx4_core: add slave resource allocation
[...]
I failed to spot this in the first pass. Really, this is ridiculous.
If you are going to make a habit of passing around pairs of 32-bit
values, declare in_param as a union.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Feb 9, 10:32 am 2010 |
| Ben Hutchings | Re: [PATCH 02/23 v3] mlx4_core: add multi-function commu ...
I think you need a wmb() *before* writing the command, so that its
parameters are visible. I don't see why you would need a wmb()
afterward; maybe you want mmiowb()?
I also suggest you encapsulate this byte-swapping in inline functions:
static inline u32 comm_read(void __iomem *addr)
{
return be32_to_cpu((__force __be32) __raw_readl(addr));
}
static inline void comm_write(u32 val, void __iomem *addr)
{
__raw_writel((__force u32) cpu_to_be32(val), addr);
mmiowb();
}
Both ...
| Feb 9, 7:37 am 2010 |
| Ben Hutchings | Re: [PATCH 01/23 v3] mlx4_core: identify function as pf or vf
The summary 'mlx4_core: identify function as pf or vf' doesn't match the
implementation. Patch 14 'mlx4_core: Determine primary physical
function' makes it clear that a PF can also be a 'slave'.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Feb 9, 6:41 am 2010 |
| Jan Engelhardt | Re: netfilter/iptables and network interface names
So, what about the patch(es)? :-)
--
| Feb 9, 4:44 am 2010 |
| Patrick McHardy | Re: netfilter/iptables and network interface names
Applied, thanks.
--
| Feb 9, 8:00 am 2010 |
| =?ISO-8859-15?Q?Ilpo ... | Re: [PATCH 0/3][v2] tcp: fix ICMP-RTO war
Isn't that "tcp_ack considers" comment like this: we have bug elsewhere in
the code but workaround it here, at least for some of the cases? (I'd put
it other way around: but alas, only for part of the cases.) ...It sound
like that to me. What exactly is the reason why rtt shouldn't be
calculated/initialized on such ACK, anything I'm missing?
--
i.
--
| Feb 9, 5:37 am 2010 |
| Damian Lukowski | Re: [PATCH 0/3][v2] tcp: fix ICMP-RTO war
Am 09.02.2010, 13:37 Uhr, schrieb Ilpo Järvinen
The RTT is extracted when traversing tcp_write_queue_head() in
tcp_clean_rtx_queue() but is null when the SYNACK is acknowledged,
so it may have seemed to be a harder issue for the commentator.
I also have been thinking a while how to obtain the timestamp of the
sent SYNACK, but there is no need for it.
We just need to call tcp_ack_no_tstamp(), which will set the
RTO to 3 seconds as defined in RFC 2988.
Regards
Damian
--
| Feb 9, 3:29 pm 2010 |
| Ed Swierk | Re: [PATCH 0/3 v4] macvtap driver
I've encountered some more problems, with various users of
macvtap_file_get_queue() either calling or neglecting to call
macvtap_file_put_queue() in error cases.
I modified your patch so that when macvtap_file_get_queue() returns 0,
it also calls rcu_read_unlock_bh(), and modified the users
appropriately.
This patch also incorporates my preemption fix for macvlan_count_rx().
Signed-off-by: Ed Swierk <eswierk@aristanetworks.com>
---
I am also seeing this issue with ...
| Feb 8, 8:25 pm 2010 |
| Anatolij Gustschin | Re: [net-next-2.6 PATCH 2/3] fs_enet: Add support for MP ...
On Thu, 21 Jan 2010 18:03:11 -0800 (PST)
First of all thanks for your suggestion. I have seen how you
handle register access in the ESP scsi driver. The reason I didn't
try to implement register access using similar approach is that
we have different sort of problem.
In my understanding, in the ESP scsi driver the set of defines for
the register offsets is common for all chip drivers. The chip driver
methods for register access translate the offsets because the
registers on some chips are at ...
| Feb 9, 7:23 am 2010 |
| David Miller | Re: [net-next-2.6 PATCH 2/3] fs_enet: Add support for MP ...
From: Anatolij Gustschin <agust@denx.de>
That only means you would need to use a table based register address
translation scheme, rather than a simple calculation. Something
like:
static unsigned int chip_xxx_table[] =
{
[GENERIC_REG_FOO] = CHIP_XXX_FOO,
...
};
static u32 chip_xxx_read_reg(struct chip *p, unsigned int reg)
{
unsigned int reg_off = chip_xxx_table[reg];
return readl(p->regs + reg_off);
}
And this table can have special tokens in entries for
registers which ...
| Feb 9, 1:13 pm 2010 |
| Stephen Hemminger | Re: [PATCH iproute2] ip: print "temporary" for IPv6 temp ...
On Mon, 14 Sep 2009 17:01:43 -0400
Applied (for 2.6.33)
--
--
| Feb 9, 12:06 pm 2010 |
| Brian Haley | Re: [PATCH iproute2] ip: print "temporary" for IPv6 temp ...
Hi Stephen,
Sorry to bug you again, but I still don't see this patch in your
iproute2 git tree, although I see things done after it. Do I have
to wait until you tag a v2.6.33?
Thanks,
-Brian
--
| Feb 9, 7:49 am 2010 |
| previous day | today | next day |
|---|---|---|
| February 8, 2010 | February 9, 2010 | February 10, 2010 |
