dl2k: nulify fraginfo after unmap
authorStanislaw Gruszka <[email protected]>
Wed, 26 Jan 2011 00:45:42 +0000 (00:45 +0000)
committerDavid S. Miller <[email protected]>
Thu, 27 Jan 2011 22:18:34 +0000 (14:18 -0800)
commit9eb710797a21fa4a9e09ae9c86c4b3ec9d291c2d
tree30d24bd2bcd5fe111a3c9037eb878ff0cc0fc5cc
parente0ce4af920eb028f38bfd680b1d733f4c7a0b7cf
dl2k: nulify fraginfo after unmap

Patch fixes: "DMA-API: device driver tries to free an invalid DMA
memory address" warning reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=639824

Reported-by: Frantisek Hanzlik <[email protected]>
Signed-off-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/dl2k.c