]> 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)
commit7c53f16ee79a4d716db1d962814779d9b78c8661
treeb2f869d36a3ae6e6d303220a4f71b4d8d04a58c5
parente1e79cbd5a4676dd6b6abc2998e30a32bebc4a98
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