]> 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)
commit6720801c8f0b7ec4928b6c195569ad00654d5373
tree16769a147cbd78d620e9d6fcbe62c89660570132
parent0fd61b29459f5a7aa7ae78d007098af3e8dc3dd1
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