login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
June
»
4
Re: NULL Pointer Deference: NFS & Telnet
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: David Miller
Subject:
Re: NULL Pointer Deference: NFS & Telnet
Date: Friday, June 4, 2010 - 4:15 pm
From: Eric Dumazet <eric.dumazet@gmail.com> Date: Wed, 26 May 2010 22:48:53 +0200
quoted text
> Le mercredi 26 mai 2010 à 15:19 -0500, Arce, Abraham a écrit : > >> By increasing the allocation length of our rx skbuff the corruption issue is fixed... I have increased it by 2... Were we writing outside our boundaries of skb data? >> >> Please let me know about this approach... >> >> diff --git a/drivers/net/ks8851.c b/drivers/net/ks8851.c >> index b4fb07a..6da81e1 100644 >> --- a/drivers/net/ks8851.c >> +++ b/drivers/net/ks8851.c >> @@ -504,7 +504,7 @@ static void ks8851_rx_pkts(struct ks8851_net *ks) >> ks->rc_rxqcr | RXQCR_SDA | RXQCR_ADRFE); >> >> if (rxlen > 0) { >> - skb = netdev_alloc_skb(ks->netdev, rxlen + 2 + 8); >> + skb = netdev_alloc_skb(ks->netdev, rxlen + 4 + 8); >> if (!skb) { >> >> Best Regards >> Abraham >> > > Yes that makes sense, nr_frag is right after the packet (padded to L1 > cache size) > > But please do the correct allocation ? > > Also, we dont need FCS ?
Can we make some progress and get this patch tested and formally submitted so we can kill this bug? Thanks! --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
NULL Pointer Deference: NFS & Telnet
, Arce, Abraham
, (Mon May 24, 7:19 pm)
RE: NULL Pointer Deference: NFS & Telnet
, Arce, Abraham
, (Tue May 25, 6:48 pm)
Re: NULL Pointer Deference: NFS & Telnet
, David Miller
, (Tue May 25, 6:52 pm)
RE: NULL Pointer Deference: NFS & Telnet
, Arce, Abraham
, (Tue May 25, 7:02 pm)
RE: NULL Pointer Deference: NFS & Telnet
, Eric Dumazet
, (Tue May 25, 10:29 pm)
RE: NULL Pointer Deference: NFS & Telnet
, Arce, Abraham
, (Wed May 26, 1:19 pm)
RE: NULL Pointer Deference: NFS & Telnet
, Eric Dumazet
, (Wed May 26, 1:48 pm)
Re: NULL Pointer Deference: NFS & Telnet
, David Miller
, (Fri Jun 4, 4:15 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Jan Engelhardt
Re: [PATCH] Allow Kconfig to set default mmap_min_addr protection
Dmitry Torokhov
Re: [2.6 patch] input/serio/hp_sdc.c section fix
Rafael J. Wysocki
[Bug #16380] Loop devices act strangely in 2.6.35
git
:
Steven Grimm
Using git as a general backup mechanism (was Re: Using GIT to store /etc)
Jeff King
Re: [PATCH] git-reset: allow --soft in a bare repo
Johannes Sixt
Re: [PATCH 01/14] msvc: Fix compilation errors in compat/win32/sys/poll.c
Johannes Schindelin
Re: [PATCH] Uninstall rule for top level Makefile
Shawn O. Pearce
Re: [PATCH v2] Speed up bash completion loading
git-commits-head
:
Linux Kernel Mailing List
cgroups: clean up cgroup_pidlist_find() a bit
Linux Kernel Mailing List
sony-laptop: Add support for extended hotkeys
Linux Kernel Mailing List
IB/core: Add support for masked atomic operations
Linux Kernel Mailing List
V4L/DVB (8939): cx18: fix sparse warnings
Linux Kernel Mailing List
ipv6 mcast: Check address family of gf_group in getsockopt(MS_FILTER).
linux-netdev
:
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Karsten Keil
[mISDN PATCH v2 05/19] Reduce stack size in dsp_cmx_send()
linux
Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?
David Miller
Re: tun: Use netif_receive_skb instead of netif_rx
David Miller
Re: [net-next PATCH v2] llc enhancements
freebsd-current
:
Matthew Fleming
Re: [RFC] Outline of USB process integration in the kernel taskqueue system
illoai@gmail.com
Re: OT: 2d password
Hartmut Brandt
Re: problem with nss_ldap
Andrew Reilly
Re: FreeBSD's problems as seen by the BSDForen.de community
Max Laier
Re: Upcoming ABI Breakage in RELENG_7
Colocation donated by:
Syndicate