net: fix 'ip rule' iif/oif device rename
authorMaciej Żenczykowski <maze@google.com>
Sat, 8 Feb 2014 00:23:48 +0000 (16:23 -0800)
committerJiri Slaby <jslaby@suse.cz>
Wed, 26 Feb 2014 09:22:51 +0000 (10:22 +0100)
commit7d9c1b6b1e2730813b4d8692e5a51785fbd378db
tree858d079f1e29729aace79d989bd1cbd5fb602808
parent0c360776a126e0d2347ab917d1c0936683053af1
net: fix 'ip rule' iif/oif device rename

[ Upstream commit 946c032e5a53992ea45e062ecb08670ba39b99e3 ]

ip rules with iif/oif references do not update:
(detach/attach) across interface renames.

Signed-off-by: Maciej Żenczykowski <maze@google.com>
CC: Willem de Bruijn <willemb@google.com>
CC: Eric Dumazet <edumazet@google.com>
CC: Chris Davis <chrismd@google.com>
CC: Carlo Contavalli <ccontavalli@google.com>
Google-Bug-Id: 12936021
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/core/fib_rules.c