SVNews r326513

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-04 09:36:47 - r326513 by hselasky (Hans Petter Selasky)

Complete list of files affected by revision r326513:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/9/sys  
   Contents     MODIFY   /stable/9/sys/net  
  History   Contents   Diff   MODIFY   /stable/9/sys/net/if_vlan_var.h  

Commit message:

MFC r326392:
Properly define the VLAN_XXX() function macros to avoid miscompilation when
used inside "if" statements comparing with another value.

Detailed explanation:
"if (a ? b : c != 0)" is not the same like "if ((a ? b : c) != 0)"
which is the expected behaviour of a function macro.

toecore, linuxkpi and ibcore.

Reviewed by: kib
Sponsored by: Mellanox Technologies


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 2 ms, 3 files printed. Current time is 2018-03-21 16:54:42. All times are in UTC/GMT.