[PKT_SCHED]: Fix error handling while dumping actions
authorThomas Graf <tgraf@suug.ch>
Thu, 6 Jul 2006 03:47:28 +0000 (20:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jul 2006 03:47:28 +0000 (20:47 -0700)
"return -err" and blindly inheriting the error code in the netlink
failure exception handler causes errors codes to be returned as
positive value therefore making them being ignored by the caller.

May lead to sending out incomplete netlink messages.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found