Skip to content

Commit ebd61cc

Browse files
AdrianBunkdavem330
authored andcommitted
[NETFILTER]: ipt_iprange.h must #include <linux/types.h>
ipt_iprange.h must #include <linux/types.h> since it uses __be32. This patch fixes kernel Bugzilla #7604. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 75a69ac commit ebd61cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/netfilter_ipv4/ipt_iprange.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef _IPT_IPRANGE_H
22
#define _IPT_IPRANGE_H
33

4+
#include <linux/types.h>
5+
46
#define IPRANGE_SRC 0x01 /* Match source IP address */
57
#define IPRANGE_DST 0x02 /* Match destination IP address */
68
#define IPRANGE_SRC_INV 0x10 /* Negate the condition */

0 commit comments

Comments
 (0)