summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-04-11 12:00:51 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-04-11 12:00:51 +0000
commit2bb0d02fc314e231d9c1b727007d8bad5890eeb7 (patch)
tree79c240a22618de2f9260fe85595184c94fd162f7 /net-misc/cisco-vpnclient-3des/files/4.6.00.0045-2.6.14.patch
parentVersion bump to 1.4.1 and added CJK support to 1.4.0. (diff)
downloadhistorical-2bb0d02fc314e231d9c1b727007d8bad5890eeb7.tar.gz
historical-2bb0d02fc314e231d9c1b727007d8bad5890eeb7.tar.bz2
historical-2bb0d02fc314e231d9c1b727007d8bad5890eeb7.zip
Copied patch from 4.7.00 to 4.6.* ebuilds and closing bug #128045.
Package-Manager: portage-2.1_pre7-r4
Diffstat (limited to 'net-misc/cisco-vpnclient-3des/files/4.6.00.0045-2.6.14.patch')
-rw-r--r--net-misc/cisco-vpnclient-3des/files/4.6.00.0045-2.6.14.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-misc/cisco-vpnclient-3des/files/4.6.00.0045-2.6.14.patch b/net-misc/cisco-vpnclient-3des/files/4.6.00.0045-2.6.14.patch
new file mode 100644
index 000000000000..b560a444a8ee
--- /dev/null
+++ b/net-misc/cisco-vpnclient-3des/files/4.6.00.0045-2.6.14.patch
@@ -0,0 +1,38 @@
+--- linuxcniapi.c.orig 2005-11-25 10:24:28.000000000 -0600
++++ linuxcniapi.c 2005-11-25 10:21:52.000000000 -0600
+@@ -274,6 +274,7 @@
+ PBINDING pBinding;
+ LPFRAGMENTBUFFER lpMacFragment;
+ struct sk_buff *skb = NULL;
++ struct timeval stamp;
+ unsigned char *pIP = NULL, *pMac = NULL;
+
+ /* we need to build the actual sk_buff from the packet structure */
+@@ -289,7 +290,8 @@
+ goto exit_gracefully;
+ }
+ /* move the data into the packet */
+- do_gettimeofday(&skb->stamp);
++ do_gettimeofday(&stamp);
++ skb_set_timestamp(skb, &stamp);
+
+ pIP = skb_put(skb, lpPacketDescriptor->uiPacketSize);
+
+@@ -386,6 +388,7 @@
+ PBINDING pBinding,pVABinding;
+ LPFRAGMENTBUFFER lpMacFragment;
+ struct sk_buff *skb;
++ struct timeval stamp;
+ unsigned char *pIP = NULL, *pMac = NULL;
+ int tmp_rc = 0;
+
+@@ -429,7 +432,8 @@
+ CniGetPacketData(Packet, 0, lpPacketDescriptor->uiPacketSize, pIP);
+
+ /* put the mac header on */
+- do_gettimeofday(&skb->stamp);
++ do_gettimeofday(&stamp);
++ skb_set_timestamp(skb, &stamp);
+
+ skb->dev = pBinding->pDevice;
+