Package: virtualbox-dkms
Version: 5.0.20-dfsg-2
Severity: normal
Tags: patch

Hi!
While kernel 4.7 is only in earliest -rc and won't hit Debian in a while,
it'd be nice to update virtualbox-dkms for 4.7 changes.  Your upload
frequency these days is pretty nice, so you may want include this in your
next regular upload for the benefit of people testing incoming kernels.

I've just submitted the patch upstream.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-rc1-debug+ (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages virtualbox-dkms depends on:
ii  dkms  2.2.0.3-4

Versions of packages virtualbox-dkms recommends:
ii  virtualbox  5.0.20-dfsg-2

virtualbox-dkms suggests no packages.

-- no debconf information
--- virtualbox-5.0.20/vboxnetadp/linux/VBoxNetAdp-linux.c~	2016-04-28 15:14:24.000000000 +0200
+++ virtualbox-5.0.20/vboxnetadp/linux/VBoxNetAdp-linux.c	2016-05-30 11:07:38.806490593 +0200
@@ -153,7 +153,11 @@
     pPriv->Stats.tx_packets++;
     pPriv->Stats.tx_bytes += pSkb->len;
     /* Update transmission time stamp. */
+# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
+    netif_trans_update(pNetDev);
+# else
     pNetDev->trans_start = jiffies;
+# endif
     /* Nothing else to do, just free the sk_buff. */
     dev_kfree_skb(pSkb);
     return 0;

Reply via email to