summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_main.c
diff options
context:
space:
mode:
authorThomas Egerer <thomas.egerer@secunet.com>2011-04-20 22:56:02 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-21 17:24:08 -0700
commite965c05dabdabb85af0187952ccd75e43995c4b3 (patch)
tree10923ab7f6e5aaae3e432218d6492e07a7f83981 /drivers/net/benet/be_main.c
parente2a85aecebc03d165bc2dcd233deadd5dd97ea9f (diff)
downloadop-kernel-dev-e965c05dabdabb85af0187952ccd75e43995c4b3.zip
op-kernel-dev-e965c05dabdabb85af0187952ccd75e43995c4b3.tar.gz
ipv6: Remove hoplimit initialization to -1
The changes introduced with git-commit a02e4b7d ("ipv6: Demark default hoplimit as zero.") missed to remove the hoplimit initialization. As a result, ipv6_get_mtu interprets the return value of dst_metric_raw (-1) as 255 and answers ping6 with this hoplimit. This patche removes the line such that ping6 is answered with the hoplimit value configured via sysctl. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud