于 2012年11月05日 19:17, Chen Gang 写道:
the length of ifp->idev->dev->name is 16 (IFNAMSIZ)
in seq_printf, it is not suitable to use %8s for rt->dst.dev->name.
so change it to %s, since each line has not been solid any more.
1) sorry, the comments is incorrect
need use ifp->idev->dev->name instead of rt->dst.dev->name in 2nd line.
I will send it again.
2) By the way, the three patches "* %8s to %s *" are almost the same
If need merge them into one patch, please tell me, I shall do.
thanks.
--
Chen Gang
Asianux Corporation