netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 net 0/2] ipv4: fix problems from the RTNH_F_LINKDOWN introduction
@ 2015-10-30  8:23 Julian Anastasov
  2015-10-30  8:23 ` [PATCHv3 net 1/2] ipv4: fix to not remove local route on link down Julian Anastasov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Julian Anastasov @ 2015-10-30  8:23 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Andy Gospodarek

Fix two problems from the change that introduced RTNH_F_LINKDOWN
flag. The first patch deals with the removal of local route on
DOWN event. The second patch makes sure the RTNH_F_LINKDOWN
flag is properly updated on UP event because the DOWN event
sets it in all cases.

v2->v3:
- use bool for force var

v1->v2:
- forgot to add ifconfig dummy0 down in the test case
- split to 2 patches

Julian Anastasov (2):
  ipv4: fix to not remove local route on link down
  ipv4: update RTNH_F_LINKDOWN flag on UP event

 include/net/ip_fib.h     |  2 +-
 net/ipv4/fib_frontend.c  | 13 +++++++------
 net/ipv4/fib_semantics.c | 18 +++++++++++++++---
 3 files changed, 23 insertions(+), 10 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2015-11-01 21:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-30  8:23 [PATCHv3 net 0/2] ipv4: fix problems from the RTNH_F_LINKDOWN introduction Julian Anastasov
2015-10-30  8:23 ` [PATCHv3 net 1/2] ipv4: fix to not remove local route on link down Julian Anastasov
2015-10-30  8:23 ` [PATCHv3 net 2/2] ipv4: update RTNH_F_LINKDOWN flag on UP event Julian Anastasov
2015-10-30 16:53 ` [PATCHv3 net 0/2] ipv4: fix problems from the RTNH_F_LINKDOWN introduction Andy Gospodarek
2015-11-01 21:58 ` David Miller

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).