]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62e65db737afcb92422c50a93becfcd4f868c57b
tree16769a147cbd78d620e9d6fcbe62c89660570132
parenta6e288034731e9da3546ebf8a8228824a7ca1c4d
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