commit fe9d4ad6830d8c34892908a94138b4e5305b0356
Author: Andrei Bunghez <email address hidden>
Date: Tue Dec 19 13:53:30 2017 +0200
Coverity reports bad comparison for the result of pkt_pull
The result of pkt_pull is checked to be below 0 in case of error
(in nh_l2_rcv and nh_handle_mcast_control_pkt).
On the other hand, pkt_pull returns a pointer, which
makes the comparison pointless.
Reviewed: https:/ /review. opencontrail. org/38458 github. com/Juniper/ contrail- vrouter/ commit/ fe9d4ad6830d8c3 4892908a94138b4 e5305b0356
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.2
commit fe9d4ad6830d8c3 4892908a94138b4 e5305b0356
Author: Andrei Bunghez <email address hidden>
Date: Tue Dec 19 13:53:30 2017 +0200
Coverity reports bad comparison for the result of pkt_pull
The result of pkt_pull is checked to be below 0 in case of error mcast_control_ pkt).
(in nh_l2_rcv and nh_handle_
On the other hand, pkt_pull returns a pointer, which
makes the comparison pointless.
Change-Id: I1481a58a84f887 2f05cf7bc4a045d 1e41f6181d6
Closes-Bug: #1739010