X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=drivers%2Fnet%2Fvrf.c;h=7dc3bcac350666396cf943fdcb583e0d97c6bf8e;hb=40e8cc568987a9b5620672f3d1d54a21848ae8d8;hp=9b243e6f3008bb5319844412cd49db1cd7bce594;hpb=39b540ec8df89bedb791c13f2042d4d2596fc653;p=sfrench%2Fcifs-2.6.git diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index 9b243e6f3008..7dc3bcac3506 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c @@ -1165,7 +1165,7 @@ static int vrf_fib_rule(const struct net_device *dev, __u8 family, bool add_it) frh->family = family; frh->action = FR_ACT_TO_TBL; - if (nla_put_u32(skb, FRA_L3MDEV, 1)) + if (nla_put_u8(skb, FRA_L3MDEV, 1)) goto nla_put_failure; if (nla_put_u32(skb, FRA_PRIORITY, FIB_RULE_PREF))