fs/seq_file: use seq_* helpers in seq_hex_dump()
[deliverable/linux.git] / net / xfrm / xfrm_input.c
index 60ce7014e1b094ef0013f27330ab8c0bec24e284..ad7f5b3f9b619ff22cb22da32b7f259abe82ca3d 100644 (file)
@@ -330,8 +330,10 @@ resume:
 
                if (x->sel.family == AF_UNSPEC) {
                        inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol);
-                       if (inner_mode == NULL)
+                       if (inner_mode == NULL) {
+                               XFRM_INC_STATS(net, LINUX_MIB_XFRMINSTATEMODEERROR);
                                goto drop;
+                       }
                }
 
                if (inner_mode->input(x, skb)) {
This page took 0.02983 seconds and 5 git commands to generate.