/* Due to the nature of the classifier it is required to ignore all *packetsoriginatingfromsoftirqcontextasaccessing`current' *wouldleadtofalseresults. * *Thistestassumesthatallcallersofdev_queue_xmit()explicitly *disablebh.Knowingthis,itispossibletodetectsoftirqbased *callsbylookingatthenumberofnestedbhdisablecallsbecause *softirqsalwaysdisablesbh.
*/ if (softirq_count()) { struct sock *sk = skb_to_full_sk(skb);
/* If there is an sock_cgroup_classid we'll use that. */ if (!sk || !sk_fullsock(sk)) return0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.