--- zzzz-none-000/linux-2.6.28.10/net/bridge/br_ioctl.c 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/net/bridge/br_ioctl.c 2009-06-16 10:06:22.000000000 +0000 @@ -10,6 +10,24 @@ * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ +/*---------------------------------------------------------------------------- +// Copyright 2007, Texas Instruments Incorporated +// +// This program has been modified from its original operation by Texas Instruments +// to do the following: +// +// 1. HIL Event generation to support TI Packet Processor +// +// THIS MODIFIED SOFTWARE AND DOCUMENTATION ARE PROVIDED +// "AS IS," AND TEXAS INSTRUMENTS MAKES NO REPRESENTATIONS +// OR WARRENTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +// TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY +// PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR +// DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, +// COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +// +// These changes are covered as per original license +//-----------------------------------------------------------------------------*/ #include #include @@ -18,6 +36,7 @@ #include #include #include +#include #include "br_private.h" /* called with RTNL */ @@ -96,7 +115,10 @@ if (isadd) ret = br_add_if(br, dev); else + { ret = br_del_if(br, dev); + ti_hil_pp_event (TI_BRIDGE_PORT_DELETE, (void *)dev); + } dev_put(dev); return ret;