net: fix 'ip rule' iif/oif device rename
authorMaciej Żenczykowski <maze@google.com>
Sat, 8 Feb 2014 00:23:48 +0000 (16:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2014 03:02:52 +0000 (19:02 -0800)
commit946c032e5a53992ea45e062ecb08670ba39b99e3
tree2a1d2c6cf099a0d77e4dcf5e4ce2fce056027312
parenta88f92b1283a485b6096b6fba3f84e266df026fc
net: fix 'ip rule' iif/oif device rename

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>
net/core/fib_rules.c