]> git.baikalelectronics.ru Git - kernel.git/commit
team: don't print warn message on -ESRCH during event send
authorJiri Pirko <jiri@resnulli.us>
Thu, 23 Aug 2012 03:26:51 +0000 (03:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Aug 2012 17:46:39 +0000 (13:46 -0400)
commit628b03b948cf4a6a709d1d889a8564aa320c4e01
treeb2f869d36a3ae6e6d303220a4f71b4d8d04a58c5
parent9d89f3335e3a8bbec443c5dc0cb20dcb79d5ac42
team: don't print warn message on -ESRCH during event send

When no one is listening on NL socket, -ESRCH is returned and warning
message is printed. This message is confusing people and in fact has no
meaning. So do not print it in this case.

Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c