Hi:
  I use the 2.4.9 kernel with 907-2 bridge/nf patch!
  This is my config steps:
  
  1. echo 1 > /proc/sys/net/ipv4/ip_forward
  2. brctl addbr test
     brctl addbr test eth0
     brctl addbr test eth1
     brctl addbr test eth2
  3. ifconfig test up
  4.iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128
  
  when I visit the dport 80, the kernel panic !
  if the step3 use the command "ifconfig test xx.xx.xx.xx" then the bridge work
  well. I find the reason is a NULL pointer in the ipt_REDIRECT.c:

          newdst =(((struct in_device *)(*pskb)->dev->ip_ptr)
                   ->ifa_list->ifa_local);
  if only use command "ifconfig test up".
  









                                                                      

Reply via email to