Skip to content
Commit 6a6b83ca authored by Kangmin Park's avatar Kangmin Park Committed by David S. Miller
Browse files

mpls: defer ttl decrement in mpls_forward()



Defer ttl decrement to optimize in tx_err case. There is no need
to decrease ttl in the case of goto tx_err.

Signed-off-by: default avatarKangmin Park <l4stpr0gr4m@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8cc236db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment