spin_lock question

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

 




I've a kernel loadable module (KLM) running under 2.6 kernel. The module will insert a new TCP connection to a queue and delete it when connection is torn down.

Do I have to do spin_lock to guard critical section ? I think since the bottom half driver feed packet to my module one-by-one, so I think I don't have to do spin_lock.

Could someone give comments ?

Thanks,
Ming

[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