From: John Fastabend Date: Thu, 1 Nov 2012 05:00:44 +0000 (+0000) Subject: ixgbe: fdb: only allow NUD_PERM fdb entries X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~248 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1ac1ef71b05f7127a2f344fc8219b37ed6859de;p=pandora-kernel.git ixgbe: fdb: only allow NUD_PERM fdb entries There was a bitwise operation error in the fdb_add block that was only allowing FDB types that were not permanent. This was the opposite of the intent because the hardware never ages out address these are the _only_ type of addrs that should be allowed. This was missed because until recently iproute2 did not set any bit for this by default. And our test code to manage FDB entries on embedded devices similarly did not set these bits. I am going to chalk this up as a bug and fix it now. Signed-off-by: John Fastabend Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed