diff options
author | Eric Dumazet <edumazet@google.com> | 2012-05-18 21:33:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-19 04:02:12 -0400 |
commit | a1e8b307986ab27b7608f107aec71d3569650f46 (patch) | |
tree | 973e0f84ef75a768a85ffd4129876e2666efa087 /net/ipv6 | |
parent | 4adb9c4ac88d874105ac31161c9c55004a972f87 (diff) | |
download | lwn-a1e8b307986ab27b7608f107aec71d3569650f46.tar.gz lwn-a1e8b307986ab27b7608f107aec71d3569650f46.zip |
tg3: use netdev_alloc_frag() API
Update our reference driver to use netdev_alloc_frag() API instead of
the temporary custom allocator I introduced in commit 8d4057a938
(tg3: provide frags as skb head)
This removes the memory leak we had, since we could leak one page at
device dismantle.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Matt Carlson <mcarlson@broadcom.com>
Cc: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions