Reviewed: https://review.opencontrail.org/38139 Committed: http://github.com/Juniper/contrail-vrouter/commit/a0d6eb08e9acb55f000a666b21ad6324fe50acc9 Submitter: Zuul (<email address hidden>) Branch: master
commit a0d6eb08e9acb55f000a666b21ad6324fe50acc9 Author: Antoine Eiche <email address hidden> Date: Tue Dec 5 17:31:03 2017 +0100
Fix build for kernels >= 4.9
- skb_sender_cpu_clear has been removed in kernel 4.6 [1] and is no longer required since 4.5 [2].
- get_user_page signature has changed in 4.6 [3] and in 4.9 [4]. Since I don't have a 4.6 kernel for testing, I didn't add code to support it.
- The macro page_cache_release has been finally removed [5].
[1] https://github.com/torvalds/linux/commit/64d4e3431e686dc37ce388ba531c4c4e866fb141 [2] https://github.com/torvalds/linux/commit/52bd2d62ce6758d811edcbd2256eb9ea7f6a56cb [3] https://github.com/torvalds/linux/commit/c12d2da56d0e07d230968ee2305aaa86b93a6832 [4] https://github.com/torvalds/linux/commit/768ae309a96103ed02eb1e111e838c87854d8b51 [5] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a
Change-Id: I569ca66145204f6e71a1083412bf2cb4caab818d Partial-Bug: #1633387
Reviewed: https:/ /review. opencontrail. org/38139 github. com/Juniper/ contrail- vrouter/ commit/ a0d6eb08e9acb55 f000a666b21ad63 24fe50acc9
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit a0d6eb08e9acb55 f000a666b21ad63 24fe50acc9
Author: Antoine Eiche <email address hidden>
Date: Tue Dec 5 17:31:03 2017 +0100
Fix build for kernels >= 4.9
- skb_sender_ cpu_clear has been removed in kernel 4.6 [1] and is no longer
required since 4.5 [2].
- get_user_page signature has changed in 4.6 [3] and in 4.9 [4]. Since I
don't have a 4.6 kernel for testing, I didn't add code to support it.
- The macro page_cache_release has been finally removed [5].
[1] https:/ /github. com/torvalds/ linux/commit/ 64d4e3431e686dc 37ce388ba531c4c 4e866fb141 /github. com/torvalds/ linux/commit/ 52bd2d62ce6758d 811edcbd2256eb9 ea7f6a56cb /github. com/torvalds/ linux/commit/ c12d2da56d0e07d 230968ee2305aaa 86b93a6832 /github. com/torvalds/ linux/commit/ 768ae309a96103e d02eb1e111e838c 87854d8b51 /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ commit/ ?id=09cbfeaf1a5 a67bfb3201e0c83 c810cecb2efa5a
[2] https:/
[3] https:/
[4] https:/
[5] https:/
Change-Id: I569ca66145204f 6e71a1083412bf2 cb4caab818d
Partial-Bug: #1633387