summaryrefslogtreecommitdiff
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-08 14:18:16 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-12 00:47:25 -0700
commit7a6e288d2745611bef5b614acf19644283765732 (patch)
treee99fd60ae5781b8cddffac6e30f41927ee172512 /drivers/net/veth.c
parentda5bab079f9b7d90ba234965a14914ace55e45e9 (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>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions