summaryrefslogtreecommitdiff
path: root/fs/locks.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2005-04-22 03:12:32 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2005-04-22 03:12:32 (GMT)
commit5c5d281a93e9816966b6131ccec19519dab0e103 (patch)
treea897ec464a600d7a678052bfd5e52378470a45fe /fs/locks.c
parent7938109fff944e0117976a39946d99d2b0b0250d (diff)
downloadlinux-5c5d281a93e9816966b6131ccec19519dab0e103.tar.xz
[XFRM]: Fix existence lookup in xfrm_state_find
Use 'daddr' instead of &tmpl->id.daddr, since the latter might be zero. Also, only perform the lookup when tmpl->id.spi is non-zero. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions