Revision f5c38208d32412d72b97a4f0d44af0eb39feb20b authored by Neil Horman on 10 February 2012, 05:43:37 UTC, committed by David S. Miller on 10 February 2012, 20:08:57 UTC
So we delay the allocation till the priority is set through cgroup,
and this makes skb_update_priority() faster when it's not set.

This also eliminates an off-by-one bug similar with the one fixed
in the previous patch.

Origionally-authored-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a87dfe1
History

back to top