summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-08 12:18:16 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-06-12 07:47:25 (GMT)
commit7a6e288d2745611bef5b614acf19644283765732 (patch)
treee99fd60ae5781b8cddffac6e30f41927ee172512 /fs
parentda5bab079f9b7d90ba234965a14914ace55e45e9 (diff)
downloadlinux-fsl-qoriq-7a6e288d2745611bef5b614acf19644283765732.tar.xz
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions