]> err.no Git - linux-2.6/commit
[NET]: Optimize pskb_trim_rcsum()
authorStephen Hemminger <shemminger@osdl.org>
Thu, 8 Sep 2005 19:32:03 +0000 (12:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Sep 2005 19:32:03 +0000 (12:32 -0700)
commit0e4e4220f10bf8f58a8606f0cb28538088c64b1a
tree5700dfd0ceab3b435a7fc91cc25e56bb911ce2a9
parent1b11d78cf87a7014f96e5b7fa2e1233cc8081a00
[NET]: Optimize pskb_trim_rcsum()

Since packets almost never contain extra garbage at the end, it is
worthwhile to optimize for that case.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h