From: Eric W. Biederman
> Sent: 23 September 2015 03:15
> David Ahern writes:
>
> > e_nobufs has 1 user. Move setting err to -ENOBUFS for the 1 user and
> > use the goto out label instead of e_nobufs. Stepping stone patch; next
> > one moves rth code into a helper function.
>
> Ick you are pessi
e_nobufs has 1 user. Move setting err to -ENOBUFS for the 1 user and
use the goto out label instead of e_nobufs. Stepping stone patch; next
one moves rth code into a helper function.
Signed-off-by: David Ahern
---
net/ipv4/route.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
On 9/22/15 8:15 PM, Eric W. Biederman wrote:
David Ahern writes:
e_nobufs has 1 user. Move setting err to -ENOBUFS for the 1 user and
use the goto out label instead of e_nobufs. Stepping stone patch; next
one moves rth code into a helper function.
Ick you are pessimizing the code.
You will
David Ahern writes:
> e_nobufs has 1 user. Move setting err to -ENOBUFS for the 1 user and
> use the goto out label instead of e_nobufs. Stepping stone patch; next
> one moves rth code into a helper function.
Ick you are pessimizing the code.
You will almost certainly have better code generatio
e_nobufs has 1 user. Move setting err to -ENOBUFS for the 1 user and
use the goto out label instead of e_nobufs. Stepping stone patch; next
one moves rth code into a helper function.
Signed-off-by: David Ahern
---
net/ipv4/route.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)