rtnetlink: rtnl_bridge_getlink: Call nlmsg_find_attr() with ifinfomsg header
[deliverable/linux.git] / net / core / rtnetlink.c
index 82d96852712104d167852403e7a2d6bea6fe1b6e..ca198c1d1d3047baededa2c1f2c6284b07010bfb 100644 (file)
@@ -2384,7 +2384,7 @@ static int rtnl_bridge_getlink(struct sk_buff *skb, struct netlink_callback *cb)
        struct nlattr *extfilt;
        u32 filter_mask = 0;
 
-       extfilt = nlmsg_find_attr(cb->nlh, sizeof(struct rtgenmsg),
+       extfilt = nlmsg_find_attr(cb->nlh, sizeof(struct ifinfomsg),
                                  IFLA_EXT_MASK);
        if (extfilt)
                filter_mask = nla_get_u32(extfilt);
This page took 0.025359 seconds and 5 git commands to generate.