summaryrefslogtreecommitdiff
path: root/include/asm-i386
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@fys.uio.no>2002-06-02 22:12:03 -0700
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-06-02 22:12:03 -0700
commit0ed9bc096d1ea407cbeab6a13fadcee7e95d7f2a (patch)
treec3851f94e00fee0e7c176abedba5364e26267692 /include/asm-i386
parent8e9c3ec4788046a5b8d128b974d4ce5fd47045d3 (diff)
[PATCH] Fix Oops due to use of incorrect km_type in RPC socket code...
The following has been vetted with davem w.r.t. the change to KM_SKB_DATA. Apologies for the bug... include/asm-*/kmap_types.h: Replace the unused km_type slot KM_SKB_DATA with KM_SKB_SUNRPC_DATA. net/sunrpc/xdr.c: Replace the use of KM_USER0 with KM_SKB_SUNRPC_DATA for copying data from an skb into the page cache when in the sk->data_ready() callback.
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/kmap_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/kmap_types.h b/include/asm-i386/kmap_types.h
index deada0ad2493..9a12267d3a4f 100644
--- a/include/asm-i386/kmap_types.h
+++ b/include/asm-i386/kmap_types.h
@@ -11,7 +11,7 @@
enum km_type {
D(0) KM_BOUNCE_READ,
-D(1) KM_SKB_DATA,
+D(1) KM_SKB_SUNRPC_DATA,
D(2) KM_SKB_DATA_SOFTIRQ,
D(3) KM_USER0,
D(4) KM_USER1,