OpenSolaris

  subsites   code review   repo   packages   bugs   defect   polls   planet
You are not signed in. Sign in or register.

Heads-up: new make target sis_check for kernel network subsystem

Date: Thu, 25 Jan 2007 13:51:54 +0800
From: yukun zhang - Sun Microsystems - Beijing China <Yukun.Zhang at Sun dot COM>
To: onnv-gate at onnv dot sfbay dot sun dot com
Subject: Heads-up: new make target sis_check for kernel network subsystem

If you do not touch the kernel networking code, you can safely ignore 
this heads-up.

  With the IP instances putback to onnv, a new make target sis_check is 
introduced to
the kernel network subsystem. It can check whether your 
projects/RFEs/Bugfixes change
a global variable: either introducing a new one or removing an obsolete 
one.

  You need to check those variables because IP instances uses a new way 
of dynamically
allocating a structure for the previous global variables in the related
kernel modules to make every exclusive zones have its own private data.
A warning in the check probably means you should pay attention to the 
global variables
you just changed and determine whether the variables should be kept as 
global or moved to
the structure.

  You can go to the directory usr/src/uts and execute 'make sis_check' 
to check all the
IP instances related modules. Also you can check a particular module by 
executing
'make sis_check' under usr/src/uts/{intel,sparc}/$(MODULE_NAME).
Currently the modules are hook, neti, arp, ip, icmp, rts, keysock, spdsock,
ipsecah, ipsecesp, tun, ipf. You can add more if you are to have the 
module in the
scope of IP instances.

  Please feel free to contact IP instances team via email 
stack-instance-iteam at sun dot com.

Erik, Donghai, Yukun