diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-04-04 12:51:05 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-04-09 22:25:22 -0700 |
commit | 8bf4b8a1083694d5aac292f92705ddd3aec29be6 (patch) | |
tree | a8bbf0bb32b7e286659eae12326c54671430560f /net/ipv4/fib_trie.c | |
parent | 67644726317a8274be4a3d0ef85b9ccebaa90304 (diff) | |
download | blackbird-op-linux-8bf4b8a1083694d5aac292f92705ddd3aec29be6.tar.gz blackbird-op-linux-8bf4b8a1083694d5aac292f92705ddd3aec29be6.zip |
[IPSEC]: Check x->encap before dereferencing it
We need to dereference x->encap before dereferencing it for encap_type.
If it's absent then the encap_type is zero.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_trie.c')
0 files changed, 0 insertions, 0 deletions