commit | 7a6e288d2745611bef5b614acf19644283765732 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <dborkman@redhat.com> | Sat Jun 08 14:18:16 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 12 00:47:25 2013 -0700 |
tree | e99fd60ae5781b8cddffac6e30f41927ee172512 | |
parent | da5bab079f9b7d90ba234965a14914ace55e45e9 [diff] |
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 <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>