building af_packet as a kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I have tried to set CONFIG_PACKET=m in kernel 4.11 and rebuilt the
kernel and rebooted.
I am using Ubuntu 16.04.

After reboot, the af_packet.ko kernel module is loaded:
lsmod
shows:
af_packet              45056  2

But I cannot remove it:
rmmod af_packet
rmmod: ERROR: Module af_packet is in use

I want to be able to rmmod it, for adding debug printing, etc.

How can I find which applications uses it ? (So I will be able to stop
them, rmmod af_packet, and then insmod it again)?


Regards,
Kevin

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux