From: wdebruij@dds.nl
To: wdebruij@dds.nl
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [UPDATE] Re: [PATCH] 2.6.3 very small patch: libc compatibility for skbuff.h (userspace access to sk_buffs)
Date: Thu, 4 Mar 2004 14:39:59 +0100 [thread overview]
Message-ID: <1078407599.404731af80bfc@webmail.dds.nl> (raw)
In-Reply-To: <1078404558.404725ceb404c@webmail.dds.nl>
new version. Now uses sys/time.h in userspace to resolve timevals. Also, the
patch mimetype is no longer (erroneously) reported as application/-octet-stream
(since I just pasted it in below).
----begin---
--- linux-2.6.3-orig/include/linux/skbuff.h 2004-02-18 04:58:26.000000000 +0100
+++ linux-2.6.3/include/linux/skbuff.h 2004-03-04 11:10:49.716489408 +0100
@@ -14,19 +14,26 @@
#ifndef _LINUX_SKBUFF_H
#define _LINUX_SKBUFF_H
+#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/compiler.h>
#include <linux/time.h>
#include <linux/cache.h>
-
#include <asm/atomic.h>
+#else
+#include <sys/time.h>
+#endif
+
#include <asm/types.h>
#include <linux/spinlock.h>
+
+#ifdef __KERNEL__
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/poll.h>
#include <linux/net.h>
+#endif
#define HAVE_ALLOC_SKB /* For the drivers to know */
#define HAVE_ALIGNABLE_SKB /* Ditto 8) */
prev parent reply other threads:[~2004-03-04 13:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-04 12:49 [PATCH] 2.6.3 very small patch: libc compatibility for skbuff.h (userspace access to sk_buffs) wdebruij
2004-03-04 13:39 ` wdebruij [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1078407599.404731af80bfc@webmail.dds.nl \
--to=wdebruij@dds.nl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox