team: ensure correct order of netlink messages delivery
authorJiri Pirko <jpirko@redhat.com>
Tue, 19 Jun 2012 05:54:19 +0000 (05:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 22:00:24 +0000 (15:00 -0700)
commit35b384bd14f91c74e358e02969ee7bb2542e6d78
tree16769a147cbd78d620e9d6fcbe62c89660570132
parent9b00cf2d1024d683cb2e206109e356dcac968568
team: ensure correct order of netlink messages delivery

currently, when port is created and per-port options are present, there
options are sent to userspace with ifindex of port which userspace does
not know about. Port add message goes right after.

This patch corrects message ordering so userspace would not be confused.

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