diff options
author | Patrick McHardy | 2012-08-19 12:16:08 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2012-08-20 12:40:23 +0200 |
commit | 2dba62c30ec3040ef1b647a8976fd7e6854cc7a7 (patch) | |
tree | e629e07f08aca83acaa18ec53f2c92038d10f492 /net/netfilter/ipvs/ip_vs_ctl.c | |
parent | net: tcp: move sk_rx_dst_set call after tcp_create_openreq_child() (diff) | |
download | kernel-qcow2-linux-2dba62c30ec3040ef1b647a8976fd7e6854cc7a7.tar.gz kernel-qcow2-linux-2dba62c30ec3040ef1b647a8976fd7e6854cc7a7.tar.xz kernel-qcow2-linux-2dba62c30ec3040ef1b647a8976fd7e6854cc7a7.zip |
netfilter: nfnetlink_log: fix NLA_PUT macro removal bug
Commit 1db20a52 (nfnetlink_log: Stop using NLA_PUT*().) incorrectly
converted a NLA_PUT_BE16 macro to nla_put_be32() in nfnetlink_log:
- NLA_PUT_BE16(inst->skb, NFULA_HWTYPE, htons(skb->dev->type));
+ if (nla_put_be32(inst->skb, NFULA_HWTYPE, htons(skb->dev->type))
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_ctl.c')
0 files changed, 0 insertions, 0 deletions