ipv4: fix fib metrics
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 24 Mar 2011 07:01:24 +0000 (07:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Mar 2011 18:49:54 +0000 (11:49 -0700)
commitfcd13f42c9d6ab7b1024b9b7125a2e8db3cc00b2
tree2c088856e18636a77077cea244e227453782910c
parent6f71d7927c9a9efb7d7e9e6d227d5e246a9c5bd7
ipv4: fix fib metrics

Alessandro Suardi reported that we could not change route metrics :

ip ro change default .... advmss 1400

This regression came with commit 9c150e82ac50 (Allocate fib metrics
dynamically). fib_metrics is no longer an array, but a pointer to an
array.

Reported-by: Alessandro Suardi <alessandro.suardi@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Alessandro Suardi <alessandro.suardi@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c