svn commit: r186024 - projects/arpv2_merge_1/sys/net
Kip Macy
kmacy at FreeBSD.org
Fri Dec 12 21:35:21 PST 2008
Author: kmacy
Date: Sat Dec 13 05:35:21 2008
New Revision: 186024
URL: http://svn.freebsd.org/changeset/base/186024
Log:
only return EINVAL if the LLE requested for delete was not found
Modified:
projects/arpv2_merge_1/sys/net/if_llatbl.c
Modified: projects/arpv2_merge_1/sys/net/if_llatbl.c
==============================================================================
--- projects/arpv2_merge_1/sys/net/if_llatbl.c Sat Dec 13 05:28:19 2008 (r186023)
+++ projects/arpv2_merge_1/sys/net/if_llatbl.c Sat Dec 13 05:35:21 2008 (r186024)
@@ -300,10 +300,9 @@ lla_rt_output(struct rt_msghdr *rtm, str
else
LLE_RUNLOCK(lle);
}
- } else {
- if (flags & LLE_DELETE)
- error = EINVAL;
- }
+ } else if ((lle == NULL) && (flags & LLE_DELETE))
+ error = EINVAL;
+
return (error);
}
More information about the svn-src-projects
mailing list