commit | 05e00cbf5036929355020dab4837b637203a0742 | [log] [tgz] |
---|---|---|
author | Paul Moore <paul.moore@hp.com> | Fri Nov 17 17:38:47 2006 -0500 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Dec 02 21:24:08 2006 -0800 |
tree | 642cd1852808fbd89a2c666e39f23b7f48f2c4c0 | |
parent | 701a90bad99b8081a824cca52c178c8fc8f46bb2 [diff] |
NetLabel: check for a CIPSOv4 option before we do call into the CIPSOv4 layer Right now the NetLabel code always jumps into the CIPSOv4 layer to determine if a CIPSO IP option is present. However, we can do this check directly in the NetLabel code by making use of the CIPSO_V4_OPTEXIST() macro which should save us a function call in the common case of not having a CIPSOv4 option present. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>