commit | a1e8b307986ab27b7608f107aec71d3569650f46 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri May 18 21:33:39 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat May 19 04:02:12 2012 -0400 |
tree | 973e0f84ef75a768a85ffd4129876e2666efa087 | |
parent | 4adb9c4ac88d874105ac31161c9c55004a972f87 [diff] |
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>