Since RHEL6.3's security updated kernel (2.6.32-279.22.1.el6.x86_64) has included two macros (rcu_dereference_protected and kfree_rcu) in include/linux/rcupdate.h These were not existed in original RHEL6.3's kernel (2.6.32-279) and even the previous kernel of 2.6.32-279.22.1.el6.x86_64. The other hand, these macros are defined in include/linux/compat-x.z.h. (rcu_dereference_protected in compat-2.6.34.h and kfree_rcu in compat-3.0.h). It needs to check in compat headers wether these macro are defined or not, doesn't it now? otherwise we see redefined error if both kernel header and compat headers are included for the souce codes..
> It needs to check in compat headers wether these macro are defined or not, > doesn't it now? otherwise we see redefined error if both kernel header and > compat headers are included for the souce codes.. oops.. typo s/wether/whether/
This should be pretty easy to fix. I'll fire up a RHEL6.3 host with the latest kernel and verify a fix.
Created attachment 97241 [details] Initial fix for 6.3 update kernel This has not been tested other than to be sure it compiles. I'll post to the list once I receive confirmation that it works for the reporter.
Created attachment 97251 [details] fixup of breakage from a05e783cb8853210628bd1f2bd82d17dd004c9d1 You will need this patch, too.
Thanks, I will test them shortly!
Patches accepted into new backports project. Closing.