]> git.baikalelectronics.ru Git - kernel.git/commit
net; ipv[46] - Remove 2 unnecessary NETDEBUG OOM messages
authorJoe Perches <joe@perches.com>
Wed, 5 Nov 2014 22:39:21 +0000 (14:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 20:11:10 +0000 (15:11 -0500)
commit6ef6618a8144198275e629286d5d2b7f74a8046d
treede1fdbcb75ec938df78a49921531c694839ff080
parent9281dfce997dcd2f14441cbf5abe8f5da38252c0
net; ipv[46] - Remove 2 unnecessary NETDEBUG OOM messages

These messages aren't useful as there's a generic dump_stack()
on OOM.

Neaten the comment and if test above the OOM by separating the
assign in if into an allocation then if test.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c
net/ipv6/ip6_output.c