]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: hv: Fix GARP not sent after Quick Migration
authorHaiyang Zhang <haiyangz@microsoft.com>
Wed, 6 Apr 2011 22:18:00 +0000 (15:18 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Apr 2011 23:53:22 +0000 (16:53 -0700)
commitaf352e45db3bebb85dead5a541300f3f9a0c824c
tree5bc0a9aa6b7a2535653c44e3b62759fffb8f77de
parent1ed34c9c833dae4a64144de1de29a6185f5b66fa
staging: hv: Fix GARP not sent after Quick Migration

commit c996edcf1c451b81740abbcca5257ed7e353fcc6 upstream.

After Quick Migration, the network is not immediately operational in the
current context when receiving RNDIS_STATUS_MEDIA_CONNECT event. So, I added
another netif_notify_peers() into a scheduled work, otherwise GARP packet will
not be sent after quick migration, and cause network disconnection.

Thanks to Mike Surcouf <mike@surcouf.co.uk> for reporting the bug and
testing the patch.

Reported-by: Mike Surcouf <mike@surcouf.co.uk>
Tested-by: Mike Surcouf <mike@surcouf.co.uk>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc_drv.c