http://lxr.oss.org.cn/find?v=2.6.35;string=smp_lock.h 內核變化查詢
使用全局變數 init_net
dev_get_by_index(&init_net,index);獲得struct net_device 設備指針.
同時struct net_device結構取消使用*next 轉而使用函數操作
本文出自 「learning」 博客,請務必保留此出處http://heracles.blog.51cto.com/756751/801340
[火星人 ] 新內核變化查詢 linux 3.0.0 沒有dev_base全局變數已經有197次圍觀