summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;
+