diff options
author | Rami Rosen <ramirose@gmail.com> | 2008-08-05 01:21:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-05 01:21:22 -0700 |
commit | ad619800e4e034cad44299b2a22df9eebb043ac3 (patch) | |
tree | b9da3feca98b06c40793c2bd8be738f1582768a7 /net/bridge | |
parent | 95c3e8bfcdea8676e2d4d61910c379f4502049bf (diff) | |
download | op-kernel-dev-ad619800e4e034cad44299b2a22df9eebb043ac3.zip op-kernel-dev-ad619800e4e034cad44299b2a22df9eebb043ac3.tar.gz |
bridge: fix compile warning in net/bridge/br_netfilter.c
This patch fixes the following warning due to incompatible pointer
assignment:
net/bridge/br_netfilter.c: In function 'br_netfilter_rtable_init':
net/bridge/br_netfilter.c:116: warning: assignment from incompatible
pointer type
This warning is due to commit 4adf0af6818f3ea52421dc0bae836cfaf20ef72a
from July 30 (send correct MTU value in PMTU (revised)).
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_netfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 6e280a8..6a9a6cd 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c @@ -113,7 +113,7 @@ void br_netfilter_rtable_init(struct net_bridge *br) struct rtable *rt = &br->fake_rtable; atomic_set(&rt->u.dst.__refcnt, 1); - rt->u.dst.dev = &br->dev; + rt->u.dst.dev = br->dev; rt->u.dst.path = &rt->u.dst; rt->u.dst.metrics[RTAX_MTU - 1] = 1500; rt->u.dst.flags = DST_NOXFRM; |