History

xfrm: removes a superfluous check and add a statistic

Remove the check if x->km.state equal to XFRM_STATE_VALID in xfrm_state_check_expire(), which will be done before call xfrm_state_check_expire(). add a LINUX_MIB_XFRMOUTSTATEINVALID statistic to record the outbound error due to invalid xfrm state.

Li RongQing committed 13 years ago

Commit bb65a9c1 parent 483f7774 files · +8 −3Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/snmp.h+1−0
@@ -278,6 +278,7 @@ enum · 277 unmodified lines
278278 LINUX_MIB_XFRMOUTPOLDEAD, /* XfrmOutPolDead */
279279 LINUX_MIB_XFRMOUTPOLERROR, /* XfrmOutPolError */
280280 LINUX_MIB_XFRMFWDHDRERROR, /* XfrmFwdHdrError*/
281+ LINUX_MIB_XFRMOUTSTATEINVALID, /* XfrmOutStateInvalid */
281282 __LINUX_MIB_XFRMMAX
282283 };
283284

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t