summaryrefslogtreecommitdiff
path: root/include/net/garp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/garp.h')
-rw-r--r--include/net/garp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/garp.h b/include/net/garp.h
index c41833bd4590..4d9a0c6a2e5f 100644
--- a/include/net/garp.h
+++ b/include/net/garp.h
@@ -37,7 +37,7 @@ struct garp_skb_cb {
static inline struct garp_skb_cb *garp_cb(struct sk_buff *skb)
{
BUILD_BUG_ON(sizeof(struct garp_skb_cb) >
- FIELD_SIZEOF(struct sk_buff, cb));
+ sizeof_field(struct sk_buff, cb));
return (struct garp_skb_cb *)skb->cb;
}