From: Daniel Borkmann Date: Sat, 8 Jun 2013 12:18:16 +0000 (+0200) Subject: pktgen: ipv6: numa: consolidate skb allocation to pktgen_alloc_skb X-Git-Tag: v3.11-rc1~16^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a6e288d2745611bef5b614acf19644283765732;p=pandora-kernel.git pktgen: ipv6: numa: consolidate skb allocation to pktgen_alloc_skb We currently allow for numa-node aware skb allocation only within the fill_packet_ipv4() path, but not in fill_packet_ipv6(). Consolidate that code to a common allocation helper to enable numa-node aware skb allocation for ipv6, and use it in both paths. This also makes both functions a bit more readable. Signed-off-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed