dl2k: nulify fraginfo after unmap
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 26 Jan 2011 00:45:42 +0000 (00:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <franta@hanzlici.cz>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dl2k.c