Re: [NET] Change "not found" return value for rule lookup
From: David Miller <davem@davemloft.net>
Date: 2007-03-30 20:35:04
From: David Miller <davem@davemloft.net>
Date: 2007-03-30 20:35:04
From: Steven Whitehouse <redacted> Date: Fri, 30 Mar 2007 10:13:55 +0100
quoted
From 657baf6bbaa8302660d6b218149dcb5546b9b08c Mon Sep 17 00:00:00 2001From: Steven Whitehouse <redacted> Date: Fri, 30 Mar 2007 09:06:34 +0100 Subject: [PATCH] [NET] Change "not found" return value for rule lookup This changes the "not found" error return for the lookup function to -ESRCH so that it can be distinguished from the case where a rule or route resulting in -ENETUNREACH has been found during the search. It fixes a bug where if DECnet was compiled with routing support, but no routes were added to the routing table, it was failing to fall back to endnode routing. Signed-off-by: Steven Whitehouse <redacted> Signed-off-by: Patrick Caulfield <redacted>
Applied, thanks Steven.