Re: [PATCH net] tg3: Expand 4g_overflow_test workaround to skb fragments of any size.

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

 




-	return (base > 0xffffdcc0) && (base + len + 8 < base);
+	return (base + len + 8 < base);
  }

And it is actually faster ;)

What is 8 value exactly ?



Some older devices needed to be at least 8 bytes away from the boundary. For simplicity we use the same check for all devices.

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]