add patch support for kernel 3.18