[PKT_SCHED] ematch: Fix build warning.
authorDavid S. Miller <davem@davemloft.net>
Sun, 10 Feb 2008 11:48:15 +0000 (03:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Feb 2008 11:48:15 +0000 (03:48 -0800)
commit30ddb159ff3c632fdad3c0abc2e7d586a59bc5d1
tree6535914379c0abd33c414c971b10c501e00db4ab
parent25f666300625d894ebe04bac2b4b3aadb907c861
[PKT_SCHED] ematch: Fix build warning.

Commit 954415e33ed6cfa932c13e8c2460bd05e50723b5 ("[PKT_SCHED] ematch:
tcf_em_destroy robustness") removed a cast on em->data when
passing it to kfree(), but em->data is an integer type that can
hold pointers as well as other values so the cast is necessary.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/ematch.c