netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] bring UP loopback device at initialziation
@ 2017-07-04 19:16 Mahesh Bandewar
  2017-07-05  8:20 ` David Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Mahesh Bandewar @ 2017-07-04 19:16 UTC (permalink / raw)
  To: James Morris, Hideaki YOSHIFUJI, Patrick McHardy, David Miller,
	Eric Dumazet, Eric Biederman
  Cc: netdev, Mahesh Bandewar, Mahesh Bandewar

From: Mahesh Bandewar <maheshb@google.com>

In almost every scenario the loopback device is brought UP after
initialization. So there is no point of bringing up the device in
DOWN state followed by device UP operation. This change exposed
another issue of fib-trie initialization which is corrected in the 
first path.

Mahesh Bandewar (2):
  ipv4: initialize fib_trie prior to register_netdev_notifier call.
  loopback: bringup 'lo' by default at initialization

 drivers/net/loopback.c  | 6 ++++++
 net/ipv4/fib_frontend.c | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

-- 
2.13.2.725.g09c95d1e9-goog

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-07-06 18:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-04 19:16 [PATCH 0/2] bring UP loopback device at initialziation Mahesh Bandewar
2017-07-05  8:20 ` David Miller
2017-07-05 15:59   ` Mahesh Bandewar (महेश बंडेवार)
2017-07-05 16:05     ` David Miller
2017-07-05 17:50       ` Mahesh Bandewar (महेश बंडेवार)
     [not found]         ` <871spuek9i.fsf@xmission.com>
2017-07-05 23:01           ` Mahesh Bandewar (महेश बंडेवार)
2017-07-06 12:18             ` Eric W. Biederman
2017-07-06 17:48               ` Mahesh Bandewar (महेश बंडेवार)
2017-07-06 18:40             ` Cong Wang
2017-07-05 17:48     ` Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).