diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-11-24 16:06:50 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-24 16:06:50 -0800 |
commit | 631339f1e544a4d39a63cfe6708c5bddcd5a2c48 (patch) | |
tree | d3b20999303ea2af64b364b63bb176e0fd5d8e4e /net/nonet.c | |
parent | f79fca55f9a6fe54635ad32ddc8a38f92a94ec30 (diff) |
bridge: netfilter: fix update_pmtu crash with GRE
As GRE tries to call the update_pmtu function on skb->dst and
bridge supplies an skb->dst that has a NULL ops field, all is
not well.
This patch fixes this by giving the bridge device an ops field
with an update_pmtu function. For the moment I've left all
other fields blank but we can fill them in later should the
need arise.
Based on report and patch by Philip Craig.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nonet.c')
0 files changed, 0 insertions, 0 deletions