If an incoming sandesh message is not decoded by the sandesh library
(because of some internal bugs/failures), such a failure needs to be
communicated to agent.
We now check for return value from sandesh decode and if the return
value indicates a sandesh decode failure, we return from netlink
'doit' with that error, which gets passed up to the application.
Reviewed: https:/ /review. opencontrail. org/12950 github. org/Juniper/ contrail- vrouter/ commit/ cb6a1be08c8edf9 d1cdebcd0bd6ed4 1b5b8277f8
Committed: http://
Submitter: Zuul
Branch: R2.20
commit cb6a1be08c8edf9 d1cdebcd0bd6ed4 1b5b8277f8
Author: Anand H. Krishnan <email address hidden>
Date: Wed Jul 22 12:44:15 2015 +0530
Process sandesh decode errors
If an incoming sandesh message is not decoded by the sandesh library
(because of some internal bugs/failures), such a failure needs to be
communicated to agent.
We now check for return value from sandesh decode and if the return
value indicates a sandesh decode failure, we return from netlink
'doit' with that error, which gets passed up to the application.
Change-Id: I39b2621a4ce897 50160b7fac105ac 2ecd24e60e0
Partial-BUG: #1466607