Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compat: Detect and use inet_frags->lock.
Prior to ab1c724f6330 ("inet: frag: use seqlock for hash rebuild") upstream, a rwlock was used when rebuilding inet_frags. Rather than using a version check to detect this, search for it in the header and enable the code based on whether it exists. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Pravin B Shelar <pshelar@ovn.org>
- Loading branch information
1 parent
1efdc8a
commit 55764d9
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters