SVNews r326511

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

2017-12-04 09:26:12 - r326511 by hselasky (Hans Petter Selasky)

Complete list of files affected by revision r326511:

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

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/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 1 ms, 2 files printed. Current time is 2018-03-21 11:03:30. All times are in UTC/GMT.