team: send only changed options/ports via netlink
authorJiri Pirko <jpirko@redhat.com>
Tue, 24 Jan 2012 05:16:00 +0000 (05:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2012 20:51:00 +0000 (15:51 -0500)
commitb82b9183d4f18f9b8c4bb31f223eb6c79b734eb0
treec93bb04e52255fe3e313ce4469dd2df6c2a62789
parentc11bf1c8baff170fa478adc04964da519d160e62
team: send only changed options/ports via netlink

This patch changes event message behaviour to send only updated records
instead of whole list. This fixes bug on which userspace receives non-actual
data in case multiple events occur in row.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c
include/linux/if_team.h