SVNews r326512

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

2017-12-04 09:27:36 - r326512 by hselasky (Hans Petter Selasky)

Complete list of files affected by revision r326512:

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

   Contents     MODIFY   /stable/10  
  History   Contents   Diff   MODIFY   /stable/10/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, 2 files printed. Current time is 2017-12-18 02:59:41. All times are in UTC/GMT.