1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 extern const struct vm_operations_struct tcp_vm_ops;
6 static inline bool vma_is_tcp(const struct vm_area_struct *vma)
8 return vma->vm_ops == &tcp_vm_ops;
11 static inline bool vma_is_tcp(const struct vm_area_struct *vma)
15 #endif /* CONFIG_INET*/
17 #endif /* CONFIG_MMU */