]> git.karo-electronics.de Git - linux-beck.git/commit
[XFRM]: Fix missed error setting in xfrm4_policy.c
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 6 Feb 2007 22:32:42 +0000 (14:32 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Feb 2007 20:39:03 +0000 (12:39 -0800)
commitf2f2102d1a1dbc83b5b37b6596cd8374120cbe16
treea855ae6e20ad46ab2f138d268250b9b81cc31077
parent4337226228e1cfc1d70ee975789c6bd070fb597c
[XFRM]: Fix missed error setting in xfrm4_policy.c

When we can't find the afinfo we should return EAFNOSUPPORT.
GCC warned about the uninitialized 'err' for this path as well.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_policy.c