team: allow to specify one option instance to be send to userspace
authorJiri Pirko <jpirko@redhat.com>
Tue, 19 Jun 2012 05:54:14 +0000 (05:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 22:00:23 +0000 (15:00 -0700)
commit01048d9a293cbe9aac00fd014b9754bbc7eb136f
treee39bbe3f797a1a6bfa2c5a08480826498bfc40ef
parent3221c64603d9843d8a28dfd8e678e46625d5d807
team: allow to specify one option instance to be send to userspace

No need to walk through option instance list and look for ->changed ==
true when called knows exactly what one option instance changed.

Also use lists to pass option instances needed to be present in netlink
message.

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