I added the following patch to net-2.6.24 to kill a warning
since net_alloc() has no users (yet).
commit f444fa9b5d70b3d431e1554e0975e012514c39f3
Author: David S. Miller <davem@kimchee.(none)>
Date: Wed Sep 12 14:01:08 2007 +0200
[NET]: #if 0 out net_alloc() for now.
We will undo this once it is actually used.
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index f259a9b..1fc513c 100644
--- a/net/core/net_namespace.c
+++ b/net/core/net_namespace.c
@@ -32,10 +32,12 @@ void net_unlock(void)
mutex_unlock(&net_list_mutex);
}
+#if 0
static struct net *net_alloc(void)
{
return kmem_cache_alloc(net_cachep, GFP_KERNEL);
}
+#endif
static void net_free(struct net *net)
{
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
| Andrew Morton | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| David Miller | Re: [GIT]: Networking |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
| Natalie Protasevich | [BUG] New Kernel Bugs |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Ingo Molnar | [OT] Your branch is ahead of the tracked remote branch 'origin/master' by 50 commi... |
| Li Frank-B20596 | why not TortoiseGit |
| Joe Fiorini | Undo git-rm without commit? |
| Arjan van de Ven | Re: [GIT]: Networking |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Glenn Griffin | [PATCH] Add IPv6 support to TCP SYN cookies |
| Marius ROMAN | 1440x900 resolution problem |
| Martin Schröder | Re: Real men don't attack straw men |
| Otto Moerbeek | Re: SCP/SFTP: Couldn't open /dev/null |
| Siju George | Skype on OpenBSD 4.1 using Fedora RPM |
