| From | Subject | Date |
|---|---|---|
| Thomas Graf | [ESP]: Ensure IV is in linear part of the skb to avoid BUG()...
ESP does not account for the IV size when calling pskb_may_pull() to
ensure everything it accesses directly is within the linear part of a
potential fragment. This results in a BUG() being triggered when the
both the IPv4 and IPv6 ESP stack is fed with an skb where the first
fragment ends between the end of the esp header and the end of the IV.
This bug was found by Dirk Nehring <dnehring@gmx.net> .
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Index: net-2.6/net/ipv4/esp4.c
=========...
| Mar 27, 6:58 pm 2008 |
| David Miller | Re: [ESP]: Ensure IV is in linear part of the skb to avoid B...
From: Thomas Graf <tgraf@suug.ch>
Applied.
Thanks for not letting this fix fall through the cracks.
--
| Mar 27, 7:09 pm 2008 |
| Francois Romieu | Re: Realtek source
Vlastislav SUCHARDA <vsucharda@aplis.cz> :
(back to list as it may be of general interest)
Try http://userweb.kernel.org/~romieu/r8169/2.6.18/stable-4/to-2.6.24/
It contains a patch for the r8169 driver which should apply to your
2.6.18.4 based kernel and turn its r8169 driver into something closer
to 2.6.24. The kit contains a stack of incremental patches too if you
are curious.
I have fixed some rejects, checked that everything compiles at each
step but the patch is otherwise unteste...
| Mar 27, 5:50 pm 2008 |
| David Miller | Re: tg3 bad performance, lots of hardware interrupts
From: Harald Hannelius <harald@iki.fi>
Date: Thu, 27 Mar 2008 15:53:56 +0200 (EET)
You'll have better luck if you report this to the networking
developer list (netdev) and the tg3 driver maintainer (Michael
--
| Mar 27, 5:49 pm 2008 |
| John W. Linville | pull request: wireless-2.6.26 2008-03-27
Dave,
Here is another quick round of patches intended for 2.6.26. Included
are libertas and iwlwifi updates, including the long-awaited LED support
for the iwlwifi drivers. Also included is the fix for the
ieee80211_get_channel symbol conflict currently in the net-2.6.26 tree.
Please let me know if there are problems!
Thanks,
John
---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6.26/
---
The following changes since...
| Mar 27, 4:55 pm 2008 |
| John W. Linville | pull request: wireless-2.6 2008-03-27
Dave,
A few more for 2.6.25...please let me know if there are problems!
Thanks,
John
---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6/
---
The following changes since commit 732c8bd590625e8bc0b88313b82930e336b2bec4:
Herbert Xu (1):
[IPSEC]: Fix BEET output
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git master
Holger Schurig (1):
...
| Mar 27, 3:32 pm 2008 |
| Georgi Chorbadzhiyski | Linux 2.6.25-rc6: WARNING: at net/ipv4/tcp_input.c:2510
A week ago I updated one of my servers to 2.6.25-rc6 and today looking
through logs I've found these:
[380219.823434] ------------[ cut here ]------------
[380219.823450] WARNING: at net/ipv4/tcp_input.c:2510 tcp_ack+0xc7e/0x177d()
[380219.823463] Pid: 0, comm: swapper Not tainted 2.6.25-rc6-dirty #1
[380219.823477] [<c0118cee>] warn_on_slowpath+0x3b/0x4a
[380219.823494] [<c0205f66>] boomerang_rx+0x346/0x371
[380219.823517] [<c0206fa2>] boomerang_interrupt+0x288/0x2c0
[380219....
| Mar 27, 12:29 pm 2008 |
| Dave Jones | bluetooth lockdep trace. (.25rc5-git4)
This came in this morning from a user of a slightly old kernel now, but
I don't see anything obvious post rc5 that would fix this.
Dave
Mar 27 08:10:57 localhost kernel: =============================================
Mar 27 08:10:57 localhost kernel: [ INFO: possible recursive locking detected ]
Mar 27 08:10:57 localhost kernel: 2.6.25-0.121.rc5.git4.fc9 #1
Mar 27 08:10:57 localhost kernel: ---------------------------------------------
Mar 27 08:10:57 localhost kernel: obex-data-serve/3611 is try...
| Mar 27, 12:21 pm 2008 |
| Eric Dumazet | Re: kernel 2.6.25-rc7 highly unstable on high load
Then try to lower gc_elasticity, to 3, or even 2
echo 3 >/proc/sys/net/ipv4/route/gc_elasticity
--
| Mar 27, 12:07 pm 2008 |
| Denys Fedoryshchenko | Re: kernel 2.6.25-rc7 highly unstable on high load
Here is output from dmesg with patch you supplied.
Kup /config # rtstat -i60 -c60
rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|
rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|
rt_cache|
entries| in_hit|in_slow_|in_slow_|in_no_ro| in_brd|in_marti|in_marti|
out_hit|out_slow|out_slow|gc_total|gc_ignor|gc_goal_|gc_dst_o|in_hlist|
out_hlis|
| | tot| mc| ute| | an_dst|
an_src| | _tot| _mc| ...
| Mar 27, 2:37 pm 2008 |
| Eric Dumazet | Re: kernel 2.6.25-rc7 highly unstable on high load
Very interesting... you can see 101588 dst are *delayed* in dst_garbage,
but apparently never freed.
Something is wrong, but the count seems stable. Must be some kind of
event, admin driven or something...
might be the "ip route flush cache" that is schedlued around 600 seconds
of machine alive, then secret_interval seconds later...
Typically, when a "ip route flush cache" is done (manually or triggered
by secret_interval timer), refcounted>0 entries are put into dst_garbage.
Then whe...
| Mar 27, 2:56 pm 2008 |
| David Miller | Re: kernel 2.6.25-rc7 highly unstable on high load
From: Eric Dumazet <dada1@cosmosbay.com>
I'm beginning to suspect it's IFB and shaping somehow.
If those variables could be eliminated by eliminating them
from the configuration, it would help diagnose this a lot.
--
| Mar 27, 6:03 pm 2008 |
| Denis V. Lunev | Re: kernel 2.6.25-rc7 highly unstable on high load
could you check the patch sent yesterday by Pavel under the name
[PATCH][ICMP]: Dst entry leak in icmp_send host re-lookup code (v2).
It can fit the case, massive DST leakage is possible here.
Regards,
Den
--
| Mar 27, 3:05 pm 2008 |
| Eric Dumazet | Re: kernel 2.6.25-rc7 highly unstable on high load
One more idea before leaving :)
If rt_cache_entries still increasing, we might have a dst leak somewhere :
gc tries to evict entries that have a non null refcount -> they are put
in dst_garbage.list
Following patch will show us how dst_garbage behaves.
( printk(KERN_DEBUG "dst_total: %d delayed: %d work_perf: %d" ...)
diff --git a/net/core/dst.c b/net/core/dst.c
index 7deef48..e634e5f 100644
--- a/net/core/dst.c
+++ b/net/core/dst.c
@@ -31,6 +31,8 @@
* 3) This list is guarded by a ...
| Mar 27, 12:29 pm 2008 |
| Valentine Barshak | [PATCH 1/2] ibm_newemac: PowerPC 440GX EMAC PHY clock workar...
The PowerPC 440GX Taishan board fails to reset EMAC3 (reset timeout error)
if there's no link. Because of that it fails to find PHY chip. The older ibm_emac
driver had a workaround for that: the EMAC_CLK_INTERNAL/EMAC_CLK_EXTERNAL macros,
which toggle the Ethernet Clock Select bit in the SDR0_MFR register. This patch
does the same for "ibm,emac-440gx" compatible chips. The workaround forces
clock on -all- EMACs, so we select clock under global emac_phy_map_lock.
Signed-off-by: Valentine Barshak <...
| Mar 27, 10:40 am 2008 |
| Valentine Barshak | [PATCH 2/2] ibm_newemac: PowerPC 440EP/440GR EMAC PHY clock ...
This patch adds ibm_newemac PHY clock workaround for 440EP/440GR EMAC
attached to a PHY which doesn't generate RX clock if there is no link.
The code is based on the previous ibm_emac driver stuff. The 440EP/440GR
allows controlling each EMAC clock separately as opposed to global clock
selection for 440GX.
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
drivers/net/ibm_newemac/core.c | 34 ++++++++++++++++++++++++++++++++--
drivers/net/ibm_newemac/core.h | 6 +++++-
2 fi...
| Mar 27, 10:42 am 2008 |
| Valentine Barshak | [PATCH] ibm_newemac: emac_tx_csum typo fix
Move the "&& skb->ip_summed == CHECKSUM_PARTIAL" part out of
emac_has_feature parameters.
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
drivers/net/ibm_newemac/core.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -pruN linux-2.6.orig/drivers/net/ibm_newemac/core.c linux-2.6/drivers/net/ibm_newemac/core.c
--- linux-2.6.orig/drivers/net/ibm_newemac/core.c 2008-02-21 16:45:36.000000000 +0300
+++ linux-2.6/drivers/net/ibm_newemac/core.c 2008-02-...
| Mar 27, 10:43 am 2008 |
| Sebastian Siewior | [PATCH / RFC 0/2] spinlocks fixup in fec / m68knommu driver
I got into this after turning on spinlock debugging.
Jeff: The dev->hard_start_xmit callback is always called from softirq
context so it is save to use spin_lock_irq(), right?
Greg: The isr (fec_enet_rx()) calls three functions. All
but fec_enet_rx() are grabbing the spinlock. Is this on purpose?
Sebastian
--
--
| Mar 27, 10:00 am 2008 |
| Sebastian Siewior | [PATCH / RFC 1/2] fec: kill warnings
linux-2.6/drivers/net/fec.c: In function 'fec_enet_module_init':
linux-2.6/drivers/net/fec.c:2627: warning: unused variable 'j'
linux-2.6/drivers/net/fec.c: At top level:
linux-2.6/drivers/net/fec.c:2136: warning: 'mii_link_interrupt' defined but not used
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -67,6 +67,11 @@
#define FEC_MAX_PORTS 1
#endif
+#if defined(CONFIG_M523x) || defined(CONFIG_M527x) || defined(CONFIG_M528x) |...
| Mar 27, 10:00 am 2008 |
| Sebastian Siewior | [PATCH / RFC 2/2] fec: fixup spinlocks.
1. Initialize the spinlock
2. Fix the following spinlock recursion:
|BUG: spinlock recursion on CPU#0, swapper/1
| lock: 00253484, .magic: dead4ead, .owner: swapper/1, .owner_cpu: 0
|Stack from 00219d04:
| 0002951e 00144b04 000afaca 00253484 001753a2 00002704 000c5ef6 00253484
| 00800000 0025302d 002533e0 0002951e 00253000 0004857a 00144baa 00253484
| 00000000 000c5550 00253484 00172acd 000c5ef6 0017689c 0014aca3 00253484
| 00020013 00252000 002533e0 40001000 000c602e 0...
| Mar 27, 10:00 am 2008 |
| Denis V. Lunev | [PATCH 0/6 net-2.6.26] [UDP]: udp_proc_register simplificati...
Hello, Dave!
Here is a small set of changes to simplify udp_proc_register. It seems
to difficult for me. Let's simplify it a bit.
Regards,
Den
--
| Mar 27, 10:10 am 2008 |
| Denis V. Lunev | [PATCH 4/6 net-2.6.26] [UDP]: Cleanup /proc/udp[6] creation/...
Replace seq_open with seq_open_net and remove udp_seq_release completely.
seq_release_net will do this job just fine.
Signed-off-by: Denis V. Lunev <den@openvz.org>
---
net/ipv4/udp.c | 46 +++++++++-------------------------------------
1 files changed, 9 insertions(+), 37 deletions(-)
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 43920f1..1b1f299 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -1579,46 +1579,18 @@ static void udp_seq_stop(struct seq_file *seq, void *v)
sta...
| Mar 27, 10:11 am 2008 |
| Denis V. Lunev | [PATCH 3/6 net-2.6.26] [UDP]: Move seq_ops from udp_iter_sta...
No need to create seq_operations for each instance of 'netstat'.
Signed-off-by: Denis V. Lunev <den@openvz.org>
---
include/net/udp.h | 3 +--
net/ipv4/udp.c | 14 ++++++++------
net/ipv4/udplite.c | 4 +++-
net/ipv6/udp.c | 4 +++-
net/ipv6/udplite.c | 4 +++-
5 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/include/net/udp.h b/include/net/udp.h
index 77af7d4..0079d17 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -189,8 +189,8 @@ str...
| Mar 27, 10:11 am 2008 |
| Denis V. Lunev | [PATCH 1/6 net-2.6.26] [UDP]: Replace struct net on udp_iter...
Signed-off-by: Denis V. Lunev <den@openvz.org>
---
include/net/udp.h | 2 +-
net/ipv4/udp.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/net/udp.h b/include/net/udp.h
index 635940d..77af7d4 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -194,7 +194,7 @@ struct udp_seq_afinfo {
};
struct udp_iter_state {
- struct net *net;
+ struct seq_net_private p;
sa_family_t family;
struct hlist_head *hashtable;
...
| Mar 27, 10:11 am 2008 |
| Denis V. Lunev | [PATCH 2/6 net-2.6.26] [UDP]: No need to check afinfo != NUL...
udp_proc_register/udp_proc_unregister are called with a static pointer only.
Signed-off-by: Denis V. Lunev <den@openvz.org>
---
net/ipv4/udp.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 6d740ad..c05f45b 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -1631,8 +1631,6 @@ int udp_proc_register(struct net *net, struct udp_seq_afinfo *afinfo)
struct proc_dir_entry *p;
int rc = 0;
- if (!afinfo)
- return -EIN...
| Mar 27, 10:11 am 2008 |
| Denis V. Lunev | [PATCH 5/6 net-2.6.26] [UDP]: Place file operations directly...
No need to have separate never-used variable.
Signed-off-by: Denis V. Lunev <den@openvz.org>
---
include/net/udp.h | 2 +-
net/ipv4/udp.c | 15 ++++++---------
net/ipv4/udplite.c | 2 --
net/ipv6/udp.c | 2 --
net/ipv6/udplite.c | 2 --
5 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/include/net/udp.h b/include/net/udp.h
index 0079d17..5cf0e59 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -189,7 +189,7 @@ struct udp_seq_afinfo {
ch...
| Mar 27, 10:11 am 2008 |
| Denis V. Lunev | [PATCH 6/6 net-2.6.26] [UDP]: Remove owner from udp_seq_afin...
Move it to udp_seq_afinfo->seq_fops as should be.
Signed-off-by: Denis V. Lunev <den@openvz.org>
---
include/net/udp.h | 1 -
net/ipv4/udp.c | 5 +++--
net/ipv4/udplite.c | 4 +++-
net/ipv6/udp.c | 4 +++-
net/ipv6/udplite.c | 4 +++-
5 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/include/net/udp.h b/include/net/udp.h
index 5cf0e59..24a41fa 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -185,7 +185,6 @@ DECLARE_SNMP_STAT(struct ud...
| Mar 27, 10:11 am 2008 |
| Mathieu Desnoyers | [patch for 2.6.26 6/7] LTTng instrumentation net
Network core events.
Added markers :
net_del_ifa_ipv4
net_dev_receive
net_dev_xmit
net_insert_ifa_ipv4
net_socket_call
net_socket_create
net_socket_recvmsg
net_socket_sendmsg
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
CC: netdev@vger.kernel.org
---
net/core/dev.c | 6 ++++++
net/ipv4/devinet.c | 6 ++++++
net/socket.c | 19 +++++++++++++++++++
3 files changed, 31 insertions(+)
Index: linux-2.6-lttng/net/core/dev.c
======================...
| Mar 27, 9:21 am 2008 |
| Tsutomu Fujii | Bonding in active-backup mode with arp monitoring on Xen
Hi.
A little while ago I posted a patch to fix the communication problem
when bonding was used in active-backup mode with arp monitoring on Xen
guest OS.
http://marc.info/?l=linux-netdev&m=119362063924723&w=2
I have rebased the patch to the latest 2.6.25-rc7 kernel.
I've confirmed that active-backup mode works fine with arp monitoring
with this patch.
Thanks.
--
Tsutomu fujii
--- a/drivers/net/bonding/bond_main.c 2008-03-26 10:38:14.000000000 +0900
+++ b/drivers/net/bonding...
| Mar 27, 8:49 am 2008 |
| Ilpo Järvinen | [PATCH 0/7]: uninline some net related static inline in .h b...
Hi all,
As suggested by Andrew, I rerun the uninlining of all what's in .h
(v2.6.25-rc2-mm1 this time) to fix the (un)likely profiling overhead
which showed up in the allyesconfig results. The config was manually
tweaked from allyesconfig to not include a number of debug related
options [1]. Other setup: 32-bit x86, gcc (GCC) 4.1.2 20070626
(Red Hat 4.1.2-13). I also tweaked the uninlining machinery a bit and
got even better coverage than last time.
IS_ERR is now successfully off the top :-). Th...
| Mar 27, 8:37 am 2008 |
| Ilpo Järvinen | [PATCH 1/7] [NET]: uninline skb_put, de-bloats a lot
Allyesconfig (v2.6.24-mm1):
~500 files changed
...
869 funcs, 198 +, 111003 -, diff: -110805 --- skb_put
skb_put | +104
Without number of debug related CONFIGs (v2.6.25-rc2-mm1):
-60744 855 funcs, 861 +, 61605 -, diff: -60744 --- skb_put
skb_put | +57
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
include/linux/skbuff.h | 21 +--------------------
net/core/skbuff.c | 21 +++++++++++++++++++++
2 files change...
| Mar 27, 8:38 am 2008 |
| Joe Perches | Re: [PATCH 1/7] [NET]: uninline skb_put, de-bloats a lot
I think this change is only good in severely memory
limited uses. This will very likely negatively impact
high speed networking. It's a speed/size trade off.
Perhaps a CONFIG option to reduce net code size would
be appropriate.
--
| Mar 27, 3:10 pm 2008 |
| David Miller | Re: [PATCH 1/7] [NET]: uninline skb_put, de-bloats a lot
From: Joe Perches <joe@perches.com>
I severely doubt this, the bulk of the overhead of
skb_put() is the atomic operation, not whether the
instructions get executed inline or not.
Please run some tests before making claims like this.
I might give you some slack in this area if you've
been doing networking performance tuning for 10+ years
but you haven't.
--
| Mar 27, 6:04 pm 2008 |
| Ilpo Järvinen | [PATCH 2/7] [NET]: uninline skb_pull, de-bloats a lot
Allyesconfig (v2.6.24-mm1):
-28162 354 funcs, 3005 +, 31167 -, diff: -28162 --- skb_pull
Without number of debug related CONFIGs (v2.6.25-rc2-mm1):
-9697 338 funcs, 221 +, 9918 -, diff: -9697 --- skb_pull
skb_pull | +44
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
include/linux/skbuff.h | 16 +---------------
net/core/skbuff.c | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/include/linux/skbuf...
| Mar 27, 8:38 am 2008 |
| Ilpo Järvinen | [PATCH 3/7] [NET]: uninline dev_alloc_skb, de-bloats a lot
Allyesconfig (v2.6.24-mm1):
-23668 392 funcs, 104 +, 23772 -, diff: -23668 --- dev_alloc_skb
Without many debug CONFIGs (v2.6.25-rc2-mm1):
-12178 382 funcs, 157 +, 12335 -, diff: -12178 --- dev_alloc_skb
dev_alloc_skb | +37
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
include/linux/skbuff.h | 17 +----------------
net/core/skbuff.c | 18 ++++++++++++++++++
2 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/include/linux/skb...
| Mar 27, 8:38 am 2008 |
| Denys Vlasenko | Re: [PATCH 3/7] [NET]: uninline dev_alloc_skb, de-bloats a lot
"what, they want to save one push instruction per callsite??".
Can you add a comment which explains the intent?
+struct sk_buff *dev_alloc_skb(unsigned int length)
+{
+ /* There is more code here than it seems:
+ * __dev_alloc_skb is an inline */
+ return __dev_alloc_skb(length, GFP_ATOMIC);
+}
+EXPORT_SYMBOL(dev_alloc_skb);
Another good chunk of code size saving can be achieved
by introducing dev_alloc_skb_or_warn(), and using it
in places like these:
drivers/net/ir...
| Mar 27, 7:36 pm 2008 |
| Ilpo Järvinen | [PATCH 4/7] [NET]: uninline skb_push, de-bloats a lot
Allyesconfig (v2.6.24-mm1):
-21593 356 funcs, 2418 +, 24011 -, diff: -21593 --- skb_push
Without many debug related CONFIGs (v2.6.25-rc2-mm1):
-13890 341 funcs, 189 +, 14079 -, diff: -13890 --- skb_push
skb_push | +46
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
include/linux/skbuff.h | 19 +------------------
net/core/skbuff.c | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 18 deletions(-)
diff --git a/include/linux/s...
| Mar 27, 8:38 am 2008 |
| Ilpo Järvinen | [PATCH 5/7] [NET]: uninline dst_release
Codiff stats (allyesconfig, v2.6.24-mm1):
-16420 187 funcs, 103 +, 16523 -, diff: -16420 --- dst_release
Without number of debug related CONFIGs (v2.6.25-rc2-mm1):
-7257 186 funcs, 70 +, 7327 -, diff: -7257 --- dst_release
dst_release | +40
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
include/net/dst.h | 10 +---------
net/core/dst.c | 10 ++++++++++
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/include/net/dst.h b/include/...
| Mar 27, 8:38 am 2008 |
| Ilpo Järvinen | [PATCH 6/7] [NET]: uninline skb_trim, de-bloats
Allyesconfig (v2.6.24-mm1):
-10976 209 funcs, 123 +, 11099 -, diff: -10976 --- skb_trim
Without number of debug related CONFIGs (v2.6.25-rc2-mm1):
-7360 192 funcs, 131 +, 7491 -, diff: -7360 --- skb_trim
skb_trim | +42
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
include/linux/skbuff.h | 16 +---------------
net/core/skbuff.c | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/include/linux/skbuff.h b...
| Mar 27, 8:38 am 2008 |
| Ilpo Järvinen | [PATCH 7/7] [SCTP]: Remove sctp_add_cmd_sf wrapper bloat
With a was number of callsites sctp_add_cmd_sf wrapper bloats
kernel by some amount. Due to unlikely tracking allyesconfig,
with the initial result were around ~7kB (thus caught my
attention) while a non-debug config produced only ~2.3kB effect.
I (ij) proposed first a patch to uninline it but Vlad responded
with a patch that removed the only sctp_add_cmd call which is
wrapped by sctp_add_cmd_sf (I wasn't sure if I could do that).
I did minor cleanup to Vlad's patch.
Signed-off-by: Ilpo Järvine...
| Mar 27, 8:38 am 2008 |
| Richard MUSIL | [PATCH] GENETLINK: Global lock refined to family granularity
This patch is a revive of the patch I posted half a year ago. In that time
Thomas Graf (who was acting as maintainer of genetlink module) accepted
the idea, but suggested to do it using RCU lists. Since I did not have
and experience with RCU lists, we agreed, he will implement it himself.
Since that time, he neither did it, nor replied to my recent emails and
I guess he is no longer active.
I am asking, whomever maintains genetlink right now, for including this
patch. (Currently, this is patch to...
| Mar 27, 8:05 am 2008 |
| Denis V. Lunev | SCTP control socket question
Hello, Vlad!
I have read SCTP sources and found that SCTP control socket
(sctp_ctl_socket) remains hashed unlike similar staff in UDP/TCP etc.
Am I wrong, that it should not be hashed or not?
Regards,
Den
--
| Mar 27, 8:03 am 2008 |
| Vlad Yasevich | Re: SCTP control socket question
Why do you believe that the socket is hashed? That socket is only
allocated and referenced. It's should not be in any hash tables
since we hold a global reference on it.
-vlad
--
| Mar 27, 8:48 am 2008 |
| Denis V. Lunev | Re: SCTP control socket question
sctp_ctl_sock_init
__sock_create
inet(6)_create
sk->sk_prot->hash(sk);
For this purpose sk->sk_prot->unhash is explicitly called for ICMP/TCP
etc cases.
Regards,
Den
--
| Mar 27, 9:09 am 2008 |
| Vlad Yasevich | Re: SCTP control socket question
Ahhh... ;-)
struct proto sctp_prot = {
...
.hash = sctp_hash,
...
}
static void sctp_hash(struct sock *sk)
{
/* STUB */
}
SCTP currently does't do any hashing on the sockets. It hashes SCTP structures
that live under the socket.
Regards
-vlad
--
| Mar 27, 9:15 am 2008 |
| Denis V. Lunev | Re: SCTP control socket question
will you mind against this?
| Mar 27, 9:43 am 2008 |
| Vlad Yasevich | Re: SCTP control socket question
That's fine. My one concern is that someone may erroneously interpret that SCTP
sockets are derived from inet_connection_sock, but I can live with that.
-vlad
--
| Mar 27, 10:01 am 2008 |
| Pavel Emelyanov | Mar 27, 10:15 am 2008 | |
| Denis V. Lunev | [PATCH] [IXBGE]: Compilation fix for ixgbe_main.c.
Under CONFIG_DCA the compilation is broken since the commit
bd0362dde080cef377d99fa5beb5c25308c29c73 (ixgbe: Add optional
DCA infrastructure).
IXGBE_SUCCESS is not defined anywhere, replace it with 0.
Signed-off-by: Denis V. Lunev <den@openvz.org>
---
drivers/net/ixgbe/ixgbe_main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 7ad2993..cb371a8 100644
--- a/drivers/net/ixgbe/ixgbe_main....
| Mar 27, 7:39 am 2008 |
| Kok, Auke | Re: [PATCH] [IXBGE]: Compilation fix for ixgbe_main.c.
Ack and thanks, but should go to Jeff Garzik instead.
Jeff, please apply.
--
| Mar 27, 11:26 am 2008 |
| previous day | today | next day |
|---|---|---|
| March 26, 2008 | March 27, 2008 | March 28, 2008 |
