br2684: fix module_put() race
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 28 Nov 2012 00:46:45 +0000 (00:46 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 2 Dec 2012 00:05:16 +0000 (00:05 +0000)
commitd71ffeb12378243babb2227acfed0c8d263e237e
tree06c451e078f5e11a6ce8135ef0c4539ca6e0e82c
parent0e56d99a5b557c760394d6941d7d1fc8d279eff3
br2684: fix module_put() race

The br2684 code used module_put() during unassignment from vcc with
hope that we have BKL. This assumption is no longer true.

Now owner field in atmvcc is used to move this module_put()
to vcc_destroy_socket().

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: Krzysztof Mazur <krzysiek@podlesie.net>
net/atm/br2684.c