mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[kernel] refresh generic-2.4 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11213 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
Index: linux-2.4.35.4/include/linux/skbuff.h
|
||||
===================================================================
|
||||
--- linux-2.4.35.4.orig/include/linux/skbuff.h 2007-12-15 05:19:38.654623841 +0100
|
||||
+++ linux-2.4.35.4/include/linux/skbuff.h 2007-12-15 05:20:05.060128604 +0100
|
||||
@@ -912,6 +912,49 @@
|
||||
--- linux-2.4.35.4.orig/include/linux/skbuff.h
|
||||
+++ linux-2.4.35.4/include/linux/skbuff.h
|
||||
@@ -912,6 +912,49 @@ static inline void skb_reserve(struct sk
|
||||
skb->tail+=len;
|
||||
}
|
||||
|
||||
@@ -54,9 +54,9 @@ Index: linux-2.4.35.4/include/linux/skbuff.h
|
||||
static inline void __skb_trim(struct sk_buff *skb, unsigned int len)
|
||||
Index: linux-2.4.35.4/drivers/net/tun.c
|
||||
===================================================================
|
||||
--- linux-2.4.35.4.orig/drivers/net/tun.c 2007-12-15 05:19:38.642623156 +0100
|
||||
+++ linux-2.4.35.4/drivers/net/tun.c 2007-12-15 05:20:05.056128377 +0100
|
||||
@@ -185,22 +185,31 @@
|
||||
--- linux-2.4.35.4.orig/drivers/net/tun.c
|
||||
+++ linux-2.4.35.4/drivers/net/tun.c
|
||||
@@ -185,22 +185,31 @@ static __inline__ ssize_t tun_get_user(s
|
||||
{
|
||||
struct tun_pi pi = { 0, __constant_htons(ETH_P_IP) };
|
||||
struct sk_buff *skb;
|
||||
@@ -94,7 +94,7 @@ Index: linux-2.4.35.4/drivers/net/tun.c
|
||||
|
||||
skb->dev = &tun->dev;
|
||||
switch (tun->flags & TUN_TYPE_MASK) {
|
||||
@@ -271,7 +280,8 @@
|
||||
@@ -271,7 +280,8 @@ static __inline__ ssize_t tun_put_user(s
|
||||
pi.flags |= TUN_PKT_STRIP;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user