Commit 62b4d8ee authored by Kurt Garloff's avatar Kurt Garloff Committed by Stephen Hemminger

[NETFILTER]: Align nulldevname properly in ip_tables.

parent 72c15bba
...@@ -260,7 +260,7 @@ ipt_do_table(struct sk_buff **pskb, ...@@ -260,7 +260,7 @@ ipt_do_table(struct sk_buff **pskb,
struct ipt_table *table, struct ipt_table *table,
void *userdata) void *userdata)
{ {
static const char nulldevname[IFNAMSIZ]; static const char nulldevname[IFNAMSIZ] __attribute__((aligned(sizeof(long))));
u_int16_t offset; u_int16_t offset;
struct iphdr *ip; struct iphdr *ip;
u_int16_t datalen; u_int16_t datalen;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment