Maximum value of offset in scatterlist structure

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

 



Hi,

Since scatter/gather structure deals with page address. By defination
offset in page should be 0 <= offset< PAGE_SIZE. But in kernel code
when ever we increment sg->offset, we didn't not check for upper limit
 like in function "

__skb_to_sgvec".

"

Is n't it wrong?

Regards
Harsh Jain

_______________________________________________
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