Package: ndiswrapper / 1.60-8

Metadata

Package Version Patches format
ndiswrapper 1.60-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Please enabled hardened build flags.patch | (download)

utils/Makefile | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 please enabled hardened build flags

Bug-Debian: http://bugs.debian.org/655249

Use KERNELRELEASE as target kernel version.patch | (download)

driver/Makefile | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 use $kernelrelease as target kernel version

We must not assume that the running kernel version is the target
version!  DKMS and later Kbuild set $KERNELRELEASE to be the target
kernel version.

Bug-Debian: http://bugs.debian.org/693638

Hardcode etc modprobe.d ndiswrapper.conf.patch | (download)

utils/ndiswrapper | 18 1 + 17 - 0 !
1 file changed, 1 insertion(+), 17 deletions(-)

 hardcode /etc/modprobe.d/ndiswrapper.conf

We do not support modprobe.conf anymore. The code failed to work with
recent kernels that only export two components in the version,
so things were broken a bit anyway.

Bug-Debian: http://bugs.debian.org/724890

0004 loader.h Only include kernel header when building ke.patch | (download)

driver/loader.h | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 loader.h: only include kernel header when building kernel stuff

This fixes the FTBFS on the user stuff.

0005 Use netif_trans_update for kernels 4.7.patch | (download)

driver/wrapndis.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 use netif_trans_update() for kernels >= 4.7

This fixes building with kernels 4.7 and 4.8.

Bug-Debian: https://bugs.debian.org/837329
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1625089

0006 Build fixes for Linux 4.11.patch | (download)

driver/ndis.c | 6 6 + 0 - 0 !
driver/ntoskernel.h | 4 4 + 0 - 0 !
2 files changed, 10 insertions(+)

 build fixes for linux 4.11

Fix two build errors with 4.11.

The first is due to net_device.last_rx being removed as a result
of no longer being used by the networking stack. Since ndiswraper
only updates the field and does not use it, those updates can
simply be omitted for kernels >= 4.11.

The second failure is due to signal_pending having been moved to
a new include file, linux/sched/signal.h. Add this include to
ntoskernel.h for 4.11 and later.

LP: #1691838

0007 Build fixes for Linux 4.13.patch | (download)

driver/ntoskernel.h | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 build fixes for linux 4.13

__GFP_REPEAT was renamed to __GFP_RETRY_NOFAIL in 4.13, causing
build failures. Define __GFP_REPEAT to the new flag if the kernel
is 4.13 or later.

LP: #1706430

0008 Build fixes for Linux 4.15.patch | (download)

driver/ntoskernel.c | 19 18 + 1 - 0 !
driver/usb.c | 10 8 + 2 - 0 !
driver/wrapndis.c | 28 28 + 0 - 0 !
3 files changed, 54 insertions(+), 3 deletions(-)

 [patch] build fixes for linux 4.15

Fixes two build issues for 4.15:

 - init_timer() was eliminated in 4.15, and all callers were
   converted to using timer_setup(). The callback prototype has
   also changed to pass a timer_list argument instead of callback
   data, and from_timer() must be used to get to the object in
   which the timer is embedded.

 - usb_get_status() was changed to take an additional argument,
   and usb_get_std_status() was added as a wrapper for callers to
   use as a replacment. Call the wrapper in 4.15 and later.

LP: #1737749

0009 kernel 5.0 Replace do_gettimeofday with ktime_get_re.patch | (download)

driver/ntoskernel.c | 11 11 + 0 - 0 !
1 file changed, 11 insertions(+)

 kernel 5.0: replace do_gettimeofday() with ktime_get_real()

do_gettimeofday() was removed in kernel 5.0, a direct replacement
seems to be ktime_get_real() and friends. ktime_get_real() seems
to be a nice replacement, and even makes the code easier.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1813063