title: How to customize existing kernel module to be supported for future upgrades and multiple Linux flavours?
body: <p>I have added some IOCTL calls to the existing cifs kernel module. 
  How do I ensure that the customized cifs module is supported with future kernel upgrades? 
  Also how to compile the customized cifs module for various Linux flavours ?</p>
  
  <p>The customized kernel module runs with the current kernel version. But as soon as I upgrade my kernel, I cant use the customized Cifs module since it is compiled with the previous kernel version.</p>
  
  <p>I dont want to compile the kernel module manually to be supported for every kernel upgrade</p>