problem with function vlan_get_protocol()
Hi,all
in file inclue/linux/if_vlan.h
there is a statement in function vlan_get_protocol()
if (likely(protop)) protocol = *protop;
do we need an else branch on pointer protop failed through the else is unlikely
if (likely(protop))
protocol = *protop;
else
protocol = proto;thanks
----------------------
2011-07-17
jiangtao.jit
Networking questions belong on [email protected], most of the networking developers do not read linux-kernel
Thank you.
i'm sorry for my ignorance
thanks for your reminder
i'll post the question on [email protected] then thank you again
发件人: David Miller
发送时间: 2011-07-17 12:17:23
收件人: jiangtao.jit
抄送: linux-kernel
主题: Re: problem with function vlan_get_protocol()
Networking questions belong on [email protected], most of
the networking developers do not read linux-kernel
Thank you. �翳簕.n�+壏煯壄�+%娝�遍荻w�簕.n�+壏{炳G珴�妠ay�蕠跈�,jf"穐殢飦�戧鐉_璁(殠娸"濟�m���G珴�⒏?櫒璀�&x忈秈O曟瑉窔v豝�m����鹅�⒏?朓�