wireguard loads ipv6.ko

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
lazardo
DD-WRT User


Joined: 17 Apr 2014
Posts: 101
Location: SF Bay Area

PostPosted: Wed Sep 04, 2019 3:23    Post subject: wireguard loads ipv6.ko Reply with quote
Tested wireguard on v3.0-r40189 mega [ 3.10.108-d8 #25233] and noticed that ipv6.ko was loaded regardless of 'ipv6_enable=0'. Once loaded, it cannot be unloaded which locks ~350KB memory till next cycle.

Probably corrected in later builds.

default
Code:
root@dd-wrt:/tmp# lsmod
Module                  Size  Used by
xt_DSCP                 1424  1
shortcut_fe           133104  0
usb_storage            38176  0
sr_mod                 11680  0
cdrom                  31280  1 sr_mod
sd_mod                 26960  0
scsi_mod               75648  3 usb_storage,sr_mod,sd_mod
ohci_hcd               15520  0
ehci_pci                2496  0
ehci_hcd               32016  1 ehci_pci
usbcore               118960  5 usb_storage,ohci_hcd,ehci_pci,ehci_hcd
usb_common              1040  1 usbcore
switch_robo            10096  0
switch_core             5184  1 switch_robo

+ wireguard
Code:
root@dd-wrt:/tmp# lsmod
Module                  Size  Used by
wireguard              85360  0
ip_tunnel              10480  1 wireguard
ipv6                  263840  9 wireguard
shortcut_fe           133104  0
xt_DSCP                 1424  1
usb_storage            38176  0
sr_mod                 11680  0
cdrom                  31280  1 sr_mod
sd_mod                 26960  0
scsi_mod               75648  3 usb_storage,sr_mod,sd_mod
ohci_hcd               15520  0
ehci_pci                2496  0
ehci_hcd               32016  1 ehci_pci
usbcore               118960  5 usb_storage,ohci_hcd,ehci_pci,ehci_hcd
usb_common              1040  1 usbcore
switch_robo            10096  0
switch_core             5184  1 switch_robo

- wireguard
Code:
root@dd-wrt:/tmp# lsmod
Module                  Size  Used by
ipv6                  263840  8
shortcut_fe           133104  0
xt_DSCP                 1424  1
usb_storage            38176  0
sr_mod                 11680  0
cdrom                  31280  1 sr_mod
sd_mod                 26960  0
scsi_mod               75648  3 usb_storage,sr_mod,sd_mod
ohci_hcd               15520  0
ehci_pci                2496  0
ehci_hcd               32016  1 ehci_pci
usbcore               118960  5 usb_storage,ohci_hcd,ehci_pci,ehci_hcd
usb_common              1040  1 usbcore
switch_robo            10096  0
switch_core             5184  1 switch_robo

root@dd-wrt:/tmp# rmmod -f ipv6; echo $?
1
root@dd-wrt:/tmp# ps | grep ipv6
27297 root         0 SW<  [ipv6_addrconf]
32361 root      1160 S    grep ipv6
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum