summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-12-21 07:17:21 +0000
committerDavid S. Miller <davem@davemloft.net>2012-12-21 13:14:01 -0800
commit9fdc6bef5f1e8b5d3e65c2e7086033034b0dd307 (patch)
tree3217950260770d9ab4812ebfe86687a3b62b0ecc /tools
parent30e6c9fa93cf3dbc7cc6df1d748ad25e4264545a (diff)
tuntap: dont use a private kmem_cache
Commit 96442e42429 (tuntap: choose the txq based on rxq) added a per tun_struct kmem_cache. As soon as several tun_struct are used, we get an error because two caches cannot have same name. Use the default kmalloc()/kfree_rcu(), as it reduce code size and doesn't have performance impact here. Reported-by: Paul Moore <pmoore@redhat.com> Tested-by: Paul Moore <pmoore@redhat.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions