net: bridge: add pskb_may_check in rbr_recv

when receiving a new frame that look like a trill one, check if trill
header can be pulled beofre doing any further action

Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
net: bridge: ensure mutual exclusion between trill and STP

Suggested-by: François Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: William Dauchy <william@gandi.net>
Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
net: bridge: remove port state chack on trill side

after ensuring a mutal exclusion between trill and STP there is no more
need to check correct port state

Suggested-by: François Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: William Dauchy <william@gandi.net>
Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
net: bridge: add branch prediction

add branch prediction based on ftrace results in order to improve
performance

Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
net: ixgbe: fixing trill decapsulation

sizeof was returning the size of the pointer and not the size of the
pointed object

Signed-off-by: Jean-Loup Colautti <jloup@gandi.net>
Signed-off-by: William Dauchy <william@gandi.net>
net: ixgbe: trill_opt is not used anymore

Signed-off-by: Jean-Loup Colautti <jloup@gandi.net>
Signed-off-by: William Dauchy <william@gandi.net>
net: ixgbe: cleaning duplicated pointer to the same type in union

it was used during development

Signed-off-by: Jean-Loup Colautti <jloup@gandi.net>
Signed-off-by: William Dauchy <william@gandi.net>
net: ixgbe: missing ntohs convertion when getting th_flags

Signed-off-by: Jean-Loup Colautti <jloup@gandi.net>
Signed-off-by: William Dauchy <william@gandi.net>
net: rbridge: fixing indent

Signed-off-by: William Dauchy <william@gandi.net>