xfrm4_input.c (1bfcb10f670f5ff5e1d9f53e59680573524cb142) | xfrm4_input.c (13996378e6585fb25e582afe7489bf52dde78deb) |
---|---|
1/* 2 * xfrm4_input.c 3 * 4 * Changes: 5 * YOSHIFUJI Hideaki @USAGI 6 * Split up af-specific portion 7 * Derek Atkins <derek@ihtfp.com> 8 * Add Encapsulation support --- 77 unchanged lines hidden (view full) --- 86 87 x->curlft.bytes += skb->len; 88 x->curlft.packets++; 89 90 spin_unlock(&x->lock); 91 92 xfrm_vec[xfrm_nr++] = x; 93 | 1/* 2 * xfrm4_input.c 3 * 4 * Changes: 5 * YOSHIFUJI Hideaki @USAGI 6 * Split up af-specific portion 7 * Derek Atkins <derek@ihtfp.com> 8 * Add Encapsulation support --- 77 unchanged lines hidden (view full) --- 86 87 x->curlft.bytes += skb->len; 88 x->curlft.packets++; 89 90 spin_unlock(&x->lock); 91 92 xfrm_vec[xfrm_nr++] = x; 93 |
94 if (x->mode->input(x, skb)) | 94 if (x->outer_mode->input(x, skb)) |
95 goto drop; 96 | 95 goto drop; 96 |
97 if (x->mode->flags & XFRM_MODE_FLAG_TUNNEL) { | 97 if (x->outer_mode->flags & XFRM_MODE_FLAG_TUNNEL) { |
98 decaps = 1; 99 break; 100 } 101 102 err = xfrm_parse_spi(skb, nexthdr, &spi, &seq); 103 if (err < 0) 104 goto drop; 105 } while (!err); --- 153 unchanged lines hidden --- | 98 decaps = 1; 99 break; 100 } 101 102 err = xfrm_parse_spi(skb, nexthdr, &spi, &seq); 103 if (err < 0) 104 goto drop; 105 } while (!err); --- 153 unchanged lines hidden --- |